-
Global information
- Generated on Mon Jul 26 00:59:25 2021
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2021-07-26_020000.log
- Parsed 162,109 log entries in 23s
- Log start from 2021-07-26 02:00:00 to 2021-07-26 02:59:02
-
Overview
Global Stats
- 2,837 Number of unique normalized queries
- 42,890 Number of queries
- 1d9h50m50s Total query duration
- 2021-07-26 02:00:00 First query
- 2021-07-26 02:59:02 Last query
- 89 queries/s at 2021-07-26 02:30:04 Query peak
- 1d9h50m50s Total query duration
- 5s935ms Prepare/parse total duration
- 37s724ms Bind total duration
- 1d9h50m6s Execute total duration
- 5,026 Number of events
- 12 Number of unique normalized events
- 4,549 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 174 Number temporary file
- 50.52 MiB Max size of temporary file
- 6.83 MiB Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 42,890 Average queries per session
- 1d9h50m50s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 89 queries/s Query Peak
- 2021-07-26 02:30:04 Date
SELECT Traffic
Key values
- 32 queries/s Query Peak
- 2021-07-26 02:41:24 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 80 queries/s Query Peak
- 2021-07-26 02:30:04 Date
Queries duration
Key values
- 1d9h50m50s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 02 42,890 50ms 1h41m25s 2s839ms 1h21m11s 2h17m42s 3h54m43s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 02 16,490 26 5s515ms 24m59s 1h18m10s 3h2m29s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 02 20,859 4,461 10 70 580ms 53s168ms 7m7s 21m14s Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 26 02 62 14,808 238.84 0.14% Day Hour Count Average / Second Jul 26 02 0 0.00/s Day Hour Count Average Duration Average idle time Jul 26 02 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 26 02 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 26 02 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 26 02 0 0s Day Hour Mean distance Mean estimate Jul 26 02 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 57.51 MiB Temp Files size Peak
- 2021-07-26 02:35:52 Date
Number of temporary files
Key values
- 4 per second Temp Files Peak
- 2021-07-26 02:35:52 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 26 02 174 1.16 GiB 6.83 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 51 233.56 MiB 3.89 MiB 5.38 MiB 4.58 MiB select resultuid from relevance_keylevels_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, 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 rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.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 kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.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 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, $234, $235, $236, $237, $238, $239, $240, $241, $242, $243, $244, $245, $246, $247, $248, $249, $250, $251, $252, $253, $254, $255, $256, $257, $258, $259, $260, $261, $262, $263, $264, $265, $266, $267, $268, $269, $270, $271, $272, $273, $274, $275, $276, $277, $278, $279, $280, $281, $282, $283, $284, $285, $286, $287, $288, $289, $290, $291, $292, $293, $294, $295, $296, $297, $298, $299, $300, $301, $302, $303, $304, $305, $306, $307, $308, $309, $310, $311, $312, $313, $314, $315, $316, $317, $318, $319, $320, $321, $322, $323, $324, $325, $326, $327, $328, $329, $330, $331, $332, $333, $334, $335, $336, $337, $338, $339, $340, $341)) AND ($342 = 0 OR p.patternname in ($343)) AND ($344 = 0 OR kr.patternclassid in ($345, $346)) AND ($347 = 0 OR kr.patternlengthbars <= $348) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $349 OR relevant = 1) AND ($350 = 0 OR age <= $351) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:36:25 Duration: 0ms Database: acaweb_fx User: postgres
2 10 58.45 MiB 3.16 MiB 10.88 MiB 5.84 MiB )) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
)) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:31:40 Duration: 0ms Database: acaweb_fx User: postgres
3 8 14.63 MiB 1.74 MiB 1.91 MiB 1.83 MiB with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then ? else ? end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then ? else ? end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike ? inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike ?) sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike ?; update solr_relevance_old set newrelevant = ? where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike ? and a.resultuid is null); update solr_relevance_old set new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total from ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total from whatshot_probability where type in (...)) sub where result_uid = sub.resultuid;-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 02:14:34 Duration: 1m15s Database: acaweb_fx User: postgres
-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 02:33:55 Duration: 1m5s Database: acaweb_fx User: postgres
-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 02:19:15 Duration: 52s28ms Database: acaweb_fx User: postgres
4 6 63.53 MiB 4.18 MiB 38.07 MiB 10.59 MiB )) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
)) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61310532 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:34:15 Duration: 0ms Database: acaweb_fx User: postgres
5 5 21.15 MiB 3.67 MiB 5.04 MiB 4.23 MiB select resultuid from relevance_fibonacci_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) fr.resultuid as resultuid, fr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, 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, case when rar.age is not null then rar.age when fr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when fr.resultuid <= rm.resultuid then ? else ? end as relevant from fibonacci_results 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 outer join relevance_fibonacci_results rar on rar.resultuid = fr.resultuid where fr.gmttimefound > now() - interval ? and (fr.simulation = ? or fr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or 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))) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM fibonacci_results fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 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 OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = fr.resultuid WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3)) AND ($4 = 0 OR s.exchange in ($5)) AND ($6 = 0 OR s.symbol in ($7)) AND ($8 = 0 OR fr.pattern in ($9)) AND ($10 = 0 OR fr.patternlengthbars <= $11) AND ($12 = 0 OR ($13 = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ($14 = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $15 OR relevant = 1) AND ($16 = 0 OR age <= $17) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:36:07 Duration: 0ms Database: acaweb_fx User: postgres
6 5 70.58 MiB 4.17 MiB 50.52 MiB 14.12 MiB )) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
)) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517277207 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:31:40 Duration: 0ms Database: acaweb_fx User: postgres
7 4 19.88 MiB 4.18 MiB 5.58 MiB 4.97 MiB when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:32:58 Duration: 0ms Database: acaweb_fx User: postgres
8 3 14.47 MiB 4.23 MiB 5.35 MiB 4.82 MiB when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:39:42 Duration: 0ms Database: acaweb_fx User: postgres
9 3 11.74 MiB 2.78 MiB 4.48 MiB 3.91 MiB select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h2s Database: acaweb_fx User: postgres
10 3 13.69 MiB 4.22 MiB 5.24 MiB 4.56 MiB )) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
)) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516830650 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:41:24 Duration: 0ms Database: acaweb_fx User: postgres
11 1 4.25 MiB 4.25 MiB 4.25 MiB 4.25 MiB ) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%audcad%' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517272140 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:40:44 Duration: 0ms Database: acaweb_fx User: postgres
12 1 32.76 MiB 32.76 MiB 32.76 MiB 32.76 MiB select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (? = ? or brokerid = ?)) and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? and (? = ? or statsid >= ?) order by ss.statsid;-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 02:38:27 Duration: 8m Database: acaweb_fx User: postgres
-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 02:38:25 Duration: 0ms Database: acaweb_fx User: postgres
13 1 4.58 MiB 4.58 MiB 4.58 MiB 4.58 MiB select cleanup_whatshot (?, ?, ?);-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:41:54 Duration: 1m52s Database: acaweb_fx User: postgres
-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:41:55 Duration: 988ms Database: acaweb_fx User: postgres
-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:40:46 Duration: 0ms Database: acaweb_fx User: postgres
14 1 6.00 MiB 6.00 MiB 6.00 MiB 6.00 MiB ) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%eurcad%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:12:02 Duration: 0ms Database: acaweb_fx User: postgres
15 1 5.49 MiB 5.49 MiB 5.49 MiB 5.49 MiB select updateresultsmaterializedview ();-
select updateresultsmaterializedview ();
Date: 2021-07-26 02:56:41 Duration: 2m50s Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 02:53:51 Duration: 0ms Database: acaweb_fx User: postgres
16 1 4.62 MiB 4.62 MiB 4.62 MiB 4.62 MiB with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, 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 rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.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 kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.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 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, $234, $235, $236, $237, $238, $239, $240, $241, $242, $243, $244, $245, $246, $247, $248, $249, $250, $251, $252)) AND ($253 = 0 OR p.patternname in ($254)) AND ($255 = 0 OR kr.patternclassid in ($256, $257)) AND ($258 = 0 OR kr.patternlengthbars <= $259) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $260 OR relevant = 1) AND ($261 = 0 OR age <= $262) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:10:51 Duration: 0ms Database: acaweb_fx User: postgres
17 1 7.20 MiB 7.20 MiB 7.20 MiB 7.20 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdchf%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.7 AND initialtrend >= 0.7 AND symmetry >= 0.7 AND noise <= 0.30000000000000004 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517223507 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:41:23 Duration: 0ms Database: acaweb_fx User: postgres
18 1 4.16 MiB 4.16 MiB 4.16 MiB 4.16 MiB ) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%us30%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61321649 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:01:23 Duration: 0ms Database: acaweb_fx User: postgres
Queries generating the largest temporary files
Rank Size Query 1 50.52 MiB )) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 02:37:06 - Database: acaweb_fx - User: postgres ]
2 38.07 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61310532 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:34:15 - Database: acaweb_fx - User: postgres ]
3 32.76 MiB select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;[ Date: 2021-07-26 02:38:25 - Database: acaweb_fx - User: postgres ]
4 10.88 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:31:03 - Database: acaweb_fx - User: postgres ]
5 7.73 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:02:16 - Database: acaweb_fx - User: postgres ]
6 7.20 MiB ) OR ((s.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdchf%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.7 AND initialtrend >= 0.7 AND symmetry >= 0.7 AND noise <= 0.30000000000000004 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517223507 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 02:41:23 - Database: acaweb_fx - User: postgres ]
7 6.00 MiB ) OR ((c.symbol ilike '%eurcad%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:12:02 - Database: acaweb_fx - User: postgres ]
8 5.88 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:12:02 - Database: acaweb_fx - User: postgres ]
9 5.58 MiB when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:32:58 - Database: acaweb_fx - User: postgres ]
10 5.49 MiB select updateresultsmaterializedview ();[ Date: 2021-07-26 02:53:56 - Database: acaweb_fx - User: postgres ]
11 5.47 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:33:00 - Database: acaweb_fx - User: postgres ]
12 5.38 MiB SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.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 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, $234, $235, $236)) AND ($237 = 0 OR p.patternname in ($238)) AND ($239 = 0 OR kr.patternclassid in ($240, $241)) AND ($242 = 0 OR kr.patternlengthbars <= $243) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $244 OR relevant = 1) AND ($245 = 0 OR age <= $246) ORDER BY identified DESC, length DESC;[ Date: 2021-07-26 02:40:20 - Database: acaweb_fx - User: postgres ]
13 5.36 MiB )) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517278262 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 02:47:46 - Database: acaweb_fx - User: postgres ]
14 5.36 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61313261 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:55:46 - Database: acaweb_fx - User: postgres ]
15 5.35 MiB when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:39:42 - Database: acaweb_fx - User: postgres ]
16 5.33 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 02:31:40 - Database: acaweb_fx - User: postgres ]
17 5.31 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61323271 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:23:21 - Database: acaweb_fx - User: postgres ]
18 5.30 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61323271 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:06:56 - Database: acaweb_fx - User: postgres ]
19 5.30 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61323271 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 02:15:21 - Database: acaweb_fx - User: postgres ]
20 5.28 MiB )) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517273949 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 02:47:46 - Database: acaweb_fx - User: postgres ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 26 02 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 4,567 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1,280 32m23s 1s1ms 3s466ms 1s518ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016221, '2021-07-26 02:15:00'::timestamp without time zone, 0.69749, 0.69749, 0.69675, 0.69694, 336, 0, '2021-07-26 02:30:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1016221 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:11 Database: acaweb_fx User: postgres
2 1,139 29m58s 1s 3s501ms 1s578ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986686, '2021-07-26 03:00:00'::timestamp without time zone, 14.81577, 14.85434, 14.81577, 14.84756, 1831, 0, '2021-07-26 02:30:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 986686 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:11 Database: acaweb_fx User: postgres
3 496 10m55s 1s1ms 3s129ms 1s320ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983517, '2021-07-26 02:00:00'::timestamp without time zone, 110.537, 110.561, 110.501, 110.539, 1021, 0, '2021-07-26 02:00:14'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 983517 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:00:16 Database: acaweb_fx User: postgres
4 12 10m8s 54s21ms 1m11s 50s741ms select datetimeupdate from latest_candle_datetime_per_receng where recognitionengine ilike ?;-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';
Date: 2021-07-26 02:33:34 Database: acaweb_fx User: postgres
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';
Date: 2021-07-26 02:33:34 Database: acaweb_fx User: postgres
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';
Date: 2021-07-26 02:33:34 Database: acaweb_fx User: postgres
5 114 2m55s 1s23ms 3s44ms 1s543ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968675, '2021-07-26 03:00:00'::timestamp without time zone, 0.67739, 0.67747, 0.67708, 0.67738, 460, 0, '2021-07-26 02:31:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968675 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968675, '2021-07-26 03:15:00'::timestamp without time zone, 0.67737, 0.67737, 0.67678, 0.677, 416, 0, '2021-07-26 02:31:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968675 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:03 Database: acaweb_fx User: postgres
6 38 58s905ms 1s10ms 3s71ms 1s550ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960535, '2021-07-26 00:15', 1.86777, 1.86859, 1.86773, 1.86851, 0, 0, '2021-07-26 02:33');
Date: 2021-07-26 02:33:15 Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960517, '2021-07-26 00:15', 0.67703, 0.67706, 0.67675, 0.67682, 0, 0, '2021-07-26 02:32');
Date: 2021-07-26 02:32:04 Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960518, '2021-07-26 00:15', 81.368, 81.376, 81.327, 81.33, 0, 0, '2021-07-26 02:32');
Date: 2021-07-26 02:32:11 Database: acaweb_fx User: postgres
7 39 58s74ms 1s32ms 3s213ms 1s489ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969023, '2021-07-23 20:00:00'::timestamp without time zone, 4112.01, 4117.3, 4105.1, 4105.59, 82302, 0, '2021-07-26 02:31:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 969023 AND pricedatetime = '2021-07-23 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:40 Database: acaweb_fx User: postgres
8 32 55s196ms 1s59ms 3s172ms 1s724ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960555, '2021-07-26 00:00', 0.67748, 0.67764, 0.67675, 0.67682, 0, 0, '2021-07-26 02:32');
Date: 2021-07-26 02:32:07 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960563, '2021-07-26 00:00', 120.197, 120.213, 120.145, 120.146, 0, 0, '2021-07-26 02:32');
Date: 2021-07-26 02:32:38 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960569, '2021-07-26 00:00', 130.139, 130.15, 130.082, 130.085, 0, 0, '2021-07-26 02:32');
Date: 2021-07-26 02:33:01 Database: acaweb_fx User: postgres
9 2 32s922ms 5s776ms 27s145ms 16s461ms select extract(epoch from datetimeupdate) from latest_candle_datetime_per_receng where recognitionengine ilike ?;-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 1';
Date: 2021-07-26 02:03:25 Database: acaweb_fx User: postgres
-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 2';
Date: 2021-07-26 02:33:34 Database: acaweb_fx User: postgres
-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 1';
Date: 2021-07-26 02:47:59 Database: acaweb_fx User: postgres
10 17 26s162ms 1s62ms 3s69ms 1s538ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919325, '2021-07-25 20:00:00'::timestamp without time zone, 34927, 34934, 34835, 34835, 2195, 0, '2021-07-26 02:30:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 919325 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:14 Database: acaweb_fx User: postgres
11 16 25s587ms 1s6ms 2s841ms 1s599ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919315, '2021-07-25 20:15:00'::timestamp without time zone, 34907, 34912, 34835, 34835, 1328, 0, '2021-07-26 02:30:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 919315 AND pricedatetime = '2021-07-25 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:12 Database: acaweb_fx User: postgres
12 10 18s437ms 1s17ms 2s908ms 1s843ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969021, '2021-07-23 22:30:00'::timestamp without time zone, 4108.54, 4109.03, 4105.59, 4105.59, 845, 0, '2021-07-26 02:31:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969021 AND pricedatetime = '2021-07-23 22:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969021, '2021-07-26 03:00:00'::timestamp without time zone, 4092.56, 4093.74, 4089.57, 4090.61, 1249, 0, '2021-07-26 02:31:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969021 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:37 Database: acaweb_fx User: postgres
13 9 15s494ms 1s96ms 2s835ms 1s721ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969024, '2021-07-23 00:00:00'::timestamp without time zone, 4066.92, 4117.3, 4061.59, 4105.59, 127224, 0, '2021-07-26 02:31:40'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 969024 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:42 Database: acaweb_fx User: postgres
14 11 14s392ms 1s3ms 2s587ms 1s308ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960681, '2021-07-25 00:00', 1.08261, 1.08282, 1.08247, 1.08256, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:21 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960668, '2021-07-25 00:00', 0.92519, 0.92603, 0.92519, 0.92603, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:03 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960682, '2021-07-25 00:00', 0.85568, 0.85577, 0.85532, 0.85573, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:31 Database: acaweb_fx User: postgres
15 10 14s1ms 1s111ms 2s641ms 1s400ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960605, '2021-07-25 23:00', 1.0826, 1.08282, 1.0825, 1.08256, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:16 Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960606, '2021-07-25 23:00', 0.85563, 0.85577, 0.85553, 0.85573, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:27 Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960592, '2021-07-25 23:00', 0.92576, 0.92603, 0.92561, 0.92603, 0, 0, '2021-07-26 02:01');
Date: 2021-07-26 02:01:59 Database: acaweb_fx User: postgres
16 8 13s723ms 1s185ms 2s714ms 1s715ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1010242, '2021-07-26 03:00:00'::timestamp without time zone, 4410.7, 4411.5, 4402, 4402.2, 938, 0, '2021-07-26 02:30:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1010242 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:14 Database: acaweb_fx User: postgres
17 11 12s851ms 1s21ms 1s514ms 1s168ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960644, '2021-07-25 20:00', 0.85568, 0.85577, 0.85532, 0.85573, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:29 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960630, '2021-07-25 20:00', 0.92519, 0.92603, 0.92519, 0.92603, 0, 0, '2021-07-26 02:01');
Date: 2021-07-26 02:02:01 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960643, '2021-07-25 20:00', 1.08261, 1.08282, 1.08247, 1.08256, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:18 Database: acaweb_fx User: postgres
18 8 12s391ms 1s26ms 2s88ms 1s548ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1010241, '2021-07-26 03:15:00'::timestamp without time zone, 4408.1, 4408.5, 4402, 4402.2, 378, 0, '2021-07-26 02:30:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1010241 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:12 Database: acaweb_fx User: postgres
19 8 12s132ms 1s107ms 2s211ms 1s516ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023129, '2021-07-26 03:15:00'::timestamp without time zone, 4407.7, 4408, 4401.5, 4401.5, 415, 0, '2021-07-26 02:30:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023129 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:31 Database: acaweb_fx User: postgres
20 8 10s876ms 1s4ms 1s966ms 1s359ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020604, '2021-07-26 02:15:00'::timestamp without time zone, 15118.25, 15120.75, 15103.75, 15106, 569, 0, '2021-07-26 02:30:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1020604 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:20 Database: acaweb_fx User: postgres
21 7 10s476ms 2s316ms 2s316ms 1s496ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959868, '2021-07-23 16:00:00'::timestamp without time zone, 15650, 15650, 15650, 15650, 4, 0, '2021-07-26 02:33:14'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 959868 AND pricedatetime = '2021-07-23 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:33:17 Database: acaweb_fx User: postgres
22 7 10s444ms 1s114ms 1s945ms 1s492ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023130, '2021-07-26 03:00:00'::timestamp without time zone, 4410.5, 4411, 4401.5, 4401.5, 973, 0, '2021-07-26 02:30:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1023130 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:33 Database: acaweb_fx User: postgres
23 6 10s273ms 1s236ms 2s740ms 1s712ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986901, '2021-07-26 03:00:00'::timestamp without time zone, 15132, 15133.7, 15115.5, 15117.7, 3435, 0, '2021-07-26 02:30:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 986901 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:14 Database: acaweb_fx User: postgres
24 6 8s940ms 2s241ms 2s241ms 1s490ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986841, '2021-07-26 03:00:00'::timestamp without time zone, 15664.6, 15666.6, 15613.5, 15614, 1159, 0, '2021-07-26 02:31:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 986841 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:40 Database: acaweb_fx User: postgres
25 5 7s780ms 1s729ms 2s141ms 1s556ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002016, '2021-07-25 20:00:00'::timestamp without time zone, 35027, 35037, 34997, 34998, 1092, 0, '2021-07-26 02:32:14'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002016 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002016, '2021-07-25 20:15:00'::timestamp without time zone, 34998, 35001, 34947, 34956, 925, 0, '2021-07-26 02:32:14'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002016 AND pricedatetime = '2021-07-25 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:16 Database: acaweb_fx User: postgres
26 5 6s409ms 1s399ms 1s583ms 1s281ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989638, '2021-07-23 20:00:00'::timestamp without time zone, 4110, 4110, 4099, 4100, 4011, 0, '2021-07-26 02:32:47'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 989638 AND pricedatetime = '2021-07-23 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:48 Database: acaweb_fx User: postgres
27 3 6s67ms 1s685ms 2s605ms 2s22ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983820, '2021-07-26 03:15:00'::timestamp without time zone, 35014, 35017.5, 34941.5, 34942.5, 969, 0, '2021-07-26 02:31:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983820 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:11 Database: acaweb_fx User: postgres
28 3 5s635ms 1s176ms 3s271ms 1s878ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975937, '2021-07-26 02:00:00'::timestamp without time zone, 7025.8, 7027.8, 7020.4, 7023, 1260, 0, '2021-07-26 02:01:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 975937 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:14 Database: acaweb_fx User: postgres
29 4 5s257ms 1s359ms 1s845ms 1s314ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919878, '2021-07-25 20:00:00'::timestamp without time zone, 6961.5, 6961.5, 6945, 6948, 154, 0, '2021-07-26 02:31:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 919878 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:19 Database: acaweb_fx User: postgres
30 2 4s962ms 1s951ms 3s10ms 2s481ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989636, '2021-07-23 21:30:00'::timestamp without time zone, 4103, 4103, 4099, 4100, 194, 0, '2021-07-26 02:32:44'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989636 AND pricedatetime = '2021-07-23 21:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989636, '2021-07-26 02:00:00'::timestamp without time zone, 4096, 4097, 4086, 4086, 292, 0, '2021-07-26 02:32:44'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989636 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:46 Database: acaweb_fx User: postgres
31 3 4s458ms 1s95ms 2s160ms 1s486ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919578, '2021-07-25 19:00:00'::timestamp without time zone, 152.098, 152.121, 152, 152.06, 2016, 0, '2021-07-26 02:01:43'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 919578 AND pricedatetime = '2021-07-25 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:44 Database: acaweb_fx User: postgres
32 3 4s143ms 1s246ms 1s650ms 1s381ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989639, '2021-07-23 00:00:00'::timestamp without time zone, 4062, 4112, 4058, 4100, 21050, 0, '2021-07-26 02:32:48'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 989639 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:50 Database: acaweb_fx User: postgres
33 3 4s69ms 1s5ms 2s44ms 1s356ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1010198, '2021-07-26 02:00:00'::timestamp without time zone, 15663.2, 15670.8, 15657, 15663, 1131, 0, '2021-07-26 02:02:58'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1010198 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:59 Database: acaweb_fx User: postgres
34 2 4s28ms 1s528ms 2s499ms 2s14ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 966880, '2021-07-25 20:15:00'::timestamp without time zone, 72, 72.02, 71.89, 71.93, 126, 0, '2021-07-26 02:33:00'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 966880 AND pricedatetime = '2021-07-25 20:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 966880, '2021-07-25 20:30:00'::timestamp without time zone, 71.92, 71.92, 71.92, 71.92, 4, 0, '2021-07-26 02:33:00'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 966880 AND pricedatetime = '2021-07-25 20:30:00'::timestamp without time zone); ;
Date: 2021-07-26 02:33:03 Database: acaweb_fx User: postgres
35 3 3s679ms 1s34ms 1s441ms 1s226ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982767, '2021-07-26 02:00:00'::timestamp without time zone, 16413, 16417.1, 16406.4, 16410.5, 727, 0, '2021-07-26 02:01:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 982767 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:44 Database: acaweb_fx User: postgres
36 3 3s677ms 1s440ms 1s440ms 1s225ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982751, '2021-07-26 03:00:00'::timestamp without time zone, 8719.7, 8721.5, 8693, 8693, 1093, 0, '2021-07-26 02:32:50'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982751 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:52 Database: acaweb_fx User: postgres
37 3 3s612ms 1s16ms 1s453ms 1s204ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022828, '2021-07-23 00:00:00'::timestamp without time zone, 73, 73.58, 72.72, 73.55, 16921, 0, '2021-07-26 02:01:39'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 1022828 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:40 Database: acaweb_fx User: postgres
38 3 3s604ms 1s3ms 1s440ms 1s201ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1024654, '2021-07-26 03:15:00'::timestamp without time zone, 14, 14.041, 14, 14.012, 169, 0, '2021-07-26 02:30:28'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1024654 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:30 Database: acaweb_fx User: postgres
39 2 2s841ms 1s255ms 1s585ms 1s420ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920816, '2021-07-25 16:00:00'::timestamp without time zone, 4, 4.01, 3.99, 4.005, 1792, 0, '2021-07-26 02:02:38'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 920816 AND pricedatetime = '2021-07-25 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:40 Database: acaweb_fx User: postgres
40 2 2s775ms 1s260ms 1s515ms 1s387ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975942, '2021-07-26 02:00:00'::timestamp without time zone, 4100, 4102.45, 4097.5, 4099, 141, 0, '2021-07-26 02:02:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 975942 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:04 Database: acaweb_fx User: postgres
41 2 2s650ms 1s185ms 1s465ms 1s325ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020605, '2021-07-26 01:30:00'::timestamp without time zone, 15120, 15124.75, 15115, 15121, 638, 0, '2021-07-26 02:02:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1020605 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:21 Database: acaweb_fx User: postgres
42 1 2s489ms 2s489ms 2s489ms 2s489ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 972915, '2021-07-25 19:30:00'::timestamp without time zone, 72.06, 72.14, 72, 72.03, 76, 0, '2021-07-26 02:03:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 972915 AND pricedatetime = '2021-07-25 19:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 972915, '2021-07-25 19:45:00'::timestamp without time zone, 72.09, 72.13, 71.97, 71.97, 130, 0, '2021-07-26 02:03:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 972915 AND pricedatetime = '2021-07-25 19:45:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:21 Database: acaweb_fx User: postgres
43 1 2s317ms 2s317ms 2s317ms 2s317ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983295, '2021-07-26 02:45:00'::timestamp without time zone, 1061, 1064.2, 1060.5, 1062, 181, 0, '2021-07-26 02:03:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983295 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:20 Database: acaweb_fx User: postgres
44 2 2s303ms 1s200ms 1s200ms 1s151ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977011, '2021-07-26 03:00:00'::timestamp without time zone, 28111, 28151, 27936, 27948.5, 2243, 0, '2021-07-26 02:30:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 977011 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:13 Database: acaweb_fx User: postgres
45 1 2s221ms 2s221ms 2s221ms 2s221ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021209, '2021-07-26 02:45:00'::timestamp without time zone, 15663.3, 15666.5, 15656.7, 15662, 222, 0, '2021-07-26 02:31:50'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1021209 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021209, '2021-07-26 03:15:00'::timestamp without time zone, 15645.5, 15647.6, 15613.1, 15613.6, 303, 0, '2021-07-26 02:31:50'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1021209 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:53 Database: acaweb_fx User: postgres
46 2 2s150ms 1s75ms 1s75ms 1s75ms 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) select distinct ?, ?, ?.?, ?, ?, ?::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 where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing; ;-
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) SELECT DISTINCT '10196461|44398.7917|44400.8333|44397.6667|44400.375|6944.7|6971.2|6753.95|6909.95', 1019646, 4.000000000000000000000000000000, 'Rising Wedge', 4, '2021-07-26 00:47:47'::timestamp without time zone, - 1, 1.000000000000000000000000000000, 1.000000000000000000000000000000, 0.087789148839172256860000000000, 0.229386823099095665800000000000, 0.407678082112388207000000000000, 6754.872282702964185000000000000000, 6860.967617792901364000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-28 20:30:00'::timestamp without time zone, '2021-07-20 16:00:00'::timestamp without time zone, '2021-07-26 03:00:00'::timestamp without time zone, 7043.500000000000000000000000000000, 6951.949999999999818000000000000000, '2021-07-21 19:00:00'::timestamp without time zone, '2021-07-23 20:00:00'::timestamp without time zone, '2021-07-20 16:00:00'::timestamp without time zone, '2021-07-23 09:00:00'::timestamp without time zone, 6944.699999999999818000000000000000, 6971.199999999999818000000000000000, 6753.949999999999818000000000000000, 6909.949999999999818000000000000000, 3.000000000000000000000000000000, 0.662499999999999977800000000000, 4.867904891941153167000000000000, 0.794572814753323086800000000000, 'Continuation', - 15.199999999999818100000000000000, '2021-07-26 03:00:00'::timestamp without time zone, 6936.750000000000000000000000000000, 66, 0, 126.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = 1.000000000000000000000000000000 and resx0 = '2021-07-21 19:00:00'::timestamp without time zone and resx1 = '2021-07-23 20:00:00'::timestamp without time zone and supportx0 = '2021-07-20 16:00:00'::timestamp without time zone and supportx1 = '2021-07-23 09:00:00'::timestamp without time zone and resy0 = 6944.699999999999818000000000000000 and resy1 = 6971.199999999999818000000000000000 and supporty0 = 6753.949999999999818000000000000000 and supporty1 = 6909.949999999999818000000000000000 and symbolid = 1019646) or resultid = '10196461|44398.7917|44400.8333|44397.6667|44400.375|6944.7|6971.2|6753.95|6909.95') LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 02:48:15 Database: acaweb_fx User: postgres
47 1 1s904ms 1s904ms 1s904ms 1s904ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982431, '2021-07-26 03:00:00'::timestamp without time zone, 4410, 4411, 4401.5, 4401.5, 1070, 0, '2021-07-26 02:33:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982431 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:33:10 Database: acaweb_fx User: postgres
48 1 1s821ms 1s821ms 1s821ms 1s821ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021210, '2021-07-26 02:30:00'::timestamp without time zone, 15663.3, 15666.5, 15656.7, 15662, 222, 0, '2021-07-26 02:31:53'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021210 AND pricedatetime = '2021-07-26 02:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021210, '2021-07-26 03:00:00'::timestamp without time zone, 15645.5, 15647.6, 15613.1, 15613.6, 303, 0, '2021-07-26 02:31:53'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021210 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:55 Database: acaweb_fx User: postgres
49 1 1s620ms 1s620ms 1s620ms 1s620ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919889, '2021-07-23 00:00:00'::timestamp without time zone, 6913.5, 6971.5, 6910, 6957, 63764, 0, '2021-07-26 02:31:19'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 919889 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:21 Database: acaweb_fx User: postgres
50 1 1s477ms 1s477ms 1s477ms 1s477ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919535, '2021-07-25 20:00:00'::timestamp without time zone, 1800.6, 1801, 1799, 1799.7, 1443, 0, '2021-07-26 02:31:44'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 919535 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:46 Database: acaweb_fx User: postgres
51 1 1s449ms 1s449ms 1s449ms 1s449ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002036, '2021-07-25 20:00:00'::timestamp without time zone, 4097, 4099.5, 4091, 4091.5, 157, 0, '2021-07-26 02:32:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002036 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002036, '2021-07-25 20:15:00'::timestamp without time zone, 4091.5, 4093.9, 4090.2, 4091.1, 443, 0, '2021-07-26 02:32:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002036 AND pricedatetime = '2021-07-25 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:32:20 Database: acaweb_fx User: postgres
52 1 1s416ms 1s416ms 1s416ms 1s416ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986837, '2021-07-23 23:00:00'::timestamp without time zone, 7420.02, 7422.02, 7419.02, 7420.02, 22, 0, '2021-07-26 02:01:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986837 AND pricedatetime = '2021-07-23 23:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986837, '2021-07-26 02:00:00'::timestamp without time zone, 7422.73, 7422.73, 7408.73, 7409.73, 173, 0, '2021-07-26 02:01:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986837 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:35 Database: acaweb_fx User: postgres
53 1 1s396ms 1s396ms 1s396ms 1s396ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020605, '2021-07-26 02:00:00'::timestamp without time zone, 15120.5, 15122, 15103.75, 15106, 1220, 0, '2021-07-26 02:30:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1020605 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:22 Database: acaweb_fx User: postgres
54 1 1s386ms 1s386ms 1s386ms 1s386ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975925, '2021-07-26 02:45:00'::timestamp without time zone, 35035, 35045.5, 35024, 35037, 573, 0, '2021-07-26 02:03:29'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975925 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:30 Database: acaweb_fx User: postgres
55 1 1s367ms 1s367ms 1s367ms 1s367ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989608, '2021-07-23 20:00:00'::timestamp without time zone, 6970, 6970, 6955.5, 6958, 6622, 0, '2021-07-26 02:30:38'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 989608 AND pricedatetime = '2021-07-23 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:41 Database: acaweb_fx User: postgres
56 1 1s249ms 1s249ms 1s249ms 1s249ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983820, '2021-07-26 03:30:00'::timestamp without time zone, 34943, 34960, 34928.5, 34942.5, 772, 0, '2021-07-26 02:46:44'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983820 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); ;
Date: 2021-07-26 02:46:45 Database: acaweb_fx User: postgres
57 1 1s177ms 1s177ms 1s177ms 1s177ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959879, '2021-07-23 16:00:00'::timestamp without time zone, 7336, 7338, 7333, 7335, 156, 0, '2021-07-26 02:16:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 959879 AND pricedatetime = '2021-07-23 16:00:00'::timestamp without time zone); INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959879, '2021-07-25 16:00:00'::timestamp without time zone, 7341, 7341, 7324, 7326, 872, 0, '2021-07-26 02:16:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 959879 AND pricedatetime = '2021-07-25 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:16:18 Database: acaweb_fx User: postgres
58 1 1s137ms 1s137ms 1s137ms 1s137ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977010, '2021-07-26 02:45:00'::timestamp without time zone, 28116, 28161, 28073.5, 28121, 320, 0, '2021-07-26 02:02:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 977010 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:43 Database: acaweb_fx User: postgres
59 1 1s122ms 1s122ms 1s122ms 1s122ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 976977, '2021-07-26 02:00:00'::timestamp without time zone, 15114.25, 15135, 15112, 15131.25, 1774, 0, '2021-07-26 02:02:48'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 976977 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:49 Database: acaweb_fx User: postgres
60 1 1s112ms 1s112ms 1s112ms 1s112ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969910, '2021-07-23 22:30:00'::timestamp without time zone, 7031.81, 7035.77, 7030.28, 7033.8, 897, 0, '2021-07-26 02:03:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969910 AND pricedatetime = '2021-07-23 22:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969910, '2021-07-23 22:45:00'::timestamp without time zone, 7033.83, 7033.83, 7025.58, 7026, 903, 0, '2021-07-26 02:03:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969910 AND pricedatetime = '2021-07-23 22:45:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:43 Database: acaweb_fx User: postgres
61 1 1s109ms 1s109ms 1s109ms 1s109ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989605, '2021-07-23 21:45:00'::timestamp without time zone, 6965, 6965, 6955.5, 6958, 316, 0, '2021-07-26 02:30:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 989605 AND pricedatetime = '2021-07-23 21:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989605, '2021-07-26 02:15:00'::timestamp without time zone, 6948, 6950.5, 6937.5, 6937.5, 290, 0, '2021-07-26 02:30:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 989605 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:37 Database: acaweb_fx User: postgres
62 1 1s90ms 1s90ms 1s90ms 1s90ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002039, '2021-07-25 16:00:00'::timestamp without time zone, 4098, 4101, 4097, 4097.5, 15469, 0, '2021-07-26 02:03:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1002039 AND pricedatetime = '2021-07-25 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:10 Database: acaweb_fx User: postgres
63 1 1s79ms 1s79ms 1s79ms 1s79ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing; ;-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 8.000000000000000000000000000000, - 1, 1, '2021-07-26 00:15:46'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 331, 34991.000000000000000000000000000000, '2021-07-23 22:30:00', '2021-07-16 16:00:00', '2021-07-14 16:30:00', '', '', '', '', '', '', '', 662, 35058.925000000002910000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-26 03:00:00', 0.000000000000000000000000000000, 67.924999999999997160000000000000, - 1, 1019650, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1019650|34991|1|2021-07-26 03:00:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-14 16:30:00', 34991.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1019650|34991|1|2021-07-26 03:00:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 02:16:14 Database: acaweb_fx User: postgres
64 1 1s74ms 1s74ms 1s74ms 1s74ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002038, '2021-07-25 19:00:00'::timestamp without time zone, 4100, 4101, 4097, 4097.5, 7683, 0, '2021-07-26 02:03:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1002038 AND pricedatetime = '2021-07-25 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:03:09 Database: acaweb_fx User: postgres
65 1 1s70ms 1s70ms 1s70ms 1s70ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989606, '2021-07-23 21:30:00'::timestamp without time zone, 6965, 6965, 6955.5, 6958, 316, 0, '2021-07-26 02:30:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989606 AND pricedatetime = '2021-07-23 21:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989606, '2021-07-26 02:00:00'::timestamp without time zone, 6948, 6950.5, 6937.5, 6937.5, 290, 0, '2021-07-26 02:30:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989606 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:38 Database: acaweb_fx User: postgres
66 1 1s69ms 1s69ms 1s69ms 1s69ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920805, '2021-07-25 19:00:00'::timestamp without time zone, 1060, 1064, 1059.7, 1062.5, 160, 0, '2021-07-26 02:02:43'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 920805 AND pricedatetime = '2021-07-25 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:02:44 Database: acaweb_fx User: postgres
67 1 1s59ms 1s59ms 1s59ms 1s59ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975940, '2021-07-26 03:30:00'::timestamp without time zone, 4090.3, 4093, 4089, 4092.5, 416, 0, '2021-07-26 02:46:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975940 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); ;
Date: 2021-07-26 02:46:27 Database: acaweb_fx User: postgres
68 1 1s32ms 1s32ms 1s32ms 1s32ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960675, '2021-07-25 00:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:48 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960675, '2021-07-25 00:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:48 Database: acaweb_fx User: postgres
69 1 1s21ms 1s21ms 1s21ms 1s21ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989607, '2021-07-23 21:00:00'::timestamp without time zone, 6960, 6967, 6955.5, 6958, 1186, 0, '2021-07-26 02:16:24'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 989607 AND pricedatetime = '2021-07-23 21:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:16:25 Database: acaweb_fx User: postgres
70 1 1s14ms 1s14ms 1s14ms 1s14ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960637, '2021-07-25 20:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:47 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960637, '2021-07-25 20:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:47 Database: acaweb_fx User: postgres
71 1 1s 1s 1s 1s select updateresultsmaterializedview ();-
select updateresultsmaterializedview ();
Date: 2021-07-26 02:56:41 Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 02:53:51 Database: acaweb_fx User: postgres
Queries that waited the most
Rank Wait time Query 1 1m11s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';[ Date: 2021-07-26 02:33:34 - Database: acaweb_fx - User: postgres ]
2 1m10s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 02:33:34 - Database: acaweb_fx - User: postgres ]
3 1m9s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';[ Date: 2021-07-26 02:33:34 - Database: acaweb_fx - User: postgres ]
4 54s301ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';[ Date: 2021-07-26 02:03:25 - Database: acaweb_fx - User: postgres ]
5 54s46ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 02:03:25 - Database: acaweb_fx - User: postgres ]
6 54s25ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';[ Date: 2021-07-26 02:47:59 - Database: acaweb_fx - User: postgres ]
7 54s25ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';[ Date: 2021-07-26 02:47:59 - Database: acaweb_fx - User: postgres ]
8 54s21ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 02:47:59 - Database: acaweb_fx - User: postgres ]
9 53s985ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';[ Date: 2021-07-26 02:03:25 - Database: acaweb_fx - User: postgres ]
10 27s145ms SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 1';[ Date: 2021-07-26 02:03:25 - Database: acaweb_fx - User: postgres ]
11 24s223ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';[ Date: 2021-07-26 02:17:50 - Database: acaweb_fx - User: postgres ]
12 24s203ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 02:17:50 - Database: acaweb_fx - User: postgres ]
13 24s176ms SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';[ Date: 2021-07-26 02:17:50 - Database: acaweb_fx - User: postgres ]
14 5s776ms SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 2';[ Date: 2021-07-26 02:33:34 - Database: acaweb_fx - User: postgres ]
15 3s501ms INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969091, '2021-07-26 03:00:00'::timestamp without time zone, 1.17725, 1.17728, 1.17678, 1.17681, 6432, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969091 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:39 - Database: acaweb_fx - User: postgres ]
16 3s478ms INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975856, '2021-07-26 03:00:00'::timestamp without time zone, 1.72889, 1.72904, 1.72841, 1.72887, 1621, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975856 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:38 - Database: acaweb_fx - User: postgres ]
17 3s466ms INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983770, '2021-07-26 03:15:00'::timestamp without time zone, 1799.56, 1800.36, 1798.88, 1799.7, 978, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983770 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:39 - Database: acaweb_fx - User: postgres ]
18 3s452ms INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954147, '2021-07-26 03:00:00'::timestamp without time zone, 1.26504, 1.26524, 1.26453, 1.26478, 1540, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 954147 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:38 - Database: acaweb_fx - User: postgres ]
19 3s415ms INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020989, '2021-07-26 03:15:00'::timestamp without time zone, 10.42521, 10.44061, 10.42501, 10.43771, 4178, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1020989 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:39 - Database: acaweb_fx - User: postgres ]
20 3s361ms INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982610, '2021-07-26 03:15:00'::timestamp without time zone, 0.69759, 0.69759, 0.69685, 0.69703, 480, 0, '2021-07-26 02:32:33'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 982610 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); ;[ Date: 2021-07-26 02:32:36 - Database: acaweb_fx - User: postgres ]
-
Queries
Queries by type
Key values
- 16,490 Total read queries
- 26,389 Total write queries
Queries by database
Key values
- acaweb_fx Main database
- 42,890 Requests
- 1d9h50m6s (acaweb_fx)
- Main time consuming database
Queries by user
Key values
- postgres Main user
- 41,149 Requests
User Request type Count Duration pgperfstats Total 1,741 50m51s insert 871 21m26s select 870 29m24s postgres Total 41,149 1d8h59m15s copy from 70 38s664ms copy to 26 1m29s cte 949 4h7m12s ddl 14 31s173ms delete 10 1s485ms insert 19,988 3h24m52s others 11 18m28s select 15,620 1d47m22s update 4,461 18m38s Duration by user
Key values
- 1d8h59m15s (postgres) Main time consuming user
User Request type Count Duration pgperfstats Total 1,741 50m51s insert 871 21m26s select 870 29m24s postgres Total 41,149 1d8h59m15s copy from 70 38s664ms copy to 26 1m29s cte 949 4h7m12s ddl 14 31s173ms delete 10 1s485ms insert 19,988 3h24m52s others 11 18m28s select 15,620 1d47m22s update 4,461 18m38s Queries by host
Key values
- unknown Main host
- 42,890 Requests
- 1d9h50m6s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 42,890 Requests
- 1d9h50m6s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 1 per second Cancelled query Peak
- 2021-07-26 02:33:28 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 17,841 100-500ms duration
Slowest individual queries
Rank Duration Query 1 1h41m25s select stats_createSummaryTables_ChartPattens (cast(4446 as int));[ Date: 2021-07-26 02:43:16 - Database: acaweb_fx - User: postgres ]
2 1h15m33s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:42:52 - Database: acaweb_fx - User: postgres ]
3 1h9m14s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:43:15 - Database: acaweb_fx - User: postgres ]
4 1h2s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:43:15 - Database: acaweb_fx - User: postgres ]
5 51m48s select updateageforrelevantresults ();[ Date: 2021-07-26 02:53:50 - Database: acaweb_fx - User: postgres ]
6 46m36s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4439 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4439 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:28:25 - Database: acaweb_fx - User: postgres ]
7 46m36s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4440 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4440 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:28:25 - Database: acaweb_fx - User: postgres ]
8 44m40s select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:11:06 - Database: acaweb_fx - User: postgres ]
9 42m15s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4459 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4459 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:28:36 - Database: acaweb_fx - User: postgres ]
10 40m22s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4458 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4458 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:26:42 - Database: acaweb_fx - User: postgres ]
11 39m41s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4464 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4464 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:26:47 - Database: acaweb_fx - User: postgres ]
12 38m35s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4473 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4473 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:27:15 - Database: acaweb_fx - User: postgres ]
13 38m23s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4474 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4474 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:27:15 - Database: acaweb_fx - User: postgres ]
14 37m45s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4471 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4471 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:25:23 - Database: acaweb_fx - User: postgres ]
15 37m18s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4457 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4457 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:23:37 - Database: acaweb_fx - User: postgres ]
16 36m29s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4475 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4475 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:25:23 - Database: acaweb_fx - User: postgres ]
17 28m6s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4482 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4482 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:28:06 - Database: acaweb_fx - User: postgres ]
18 25m34s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4485 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4485 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:26:46 - Database: acaweb_fx - User: postgres ]
19 25m34s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4486 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4486 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:26:46 - Database: acaweb_fx - User: postgres ]
20 13m3s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4748 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4748 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:42:06 - Database: acaweb_fx - User: postgres ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 12h50m5s 185 64ms 1h15m33s 4m9s select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 02 185 12h50m5s 4m9s [ User: postgres - Total duration: 12h50m5s - Times executed: 185 ]
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h2s Database: acaweb_fx User: postgres
2 2h9m32s 70 1s135ms 10m27s 1m51s (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 02 70 2h9m32s 1m51s [ User: postgres - Total duration: 2h9m32s - Times executed: 70 ]
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:23:08 Duration: 10m27s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:54:09 Duration: 7m48s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:50:23 Duration: 7m16s Database: acaweb_fx User: postgres Bind query: yes
3 1h44m53s 239 217ms 10m10s 26s333ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) 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, 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 rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.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 ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or 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 order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 02 239 1h44m53s 26s333ms [ User: postgres - Total duration: 1h44m53s - Times executed: 239 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m10s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:33:20 Duration: 8m17s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '660' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('224' = 0 OR s.symbol in ('BCHEUR', 'BCHUSD', 'BTCEUR', 'BTCUSD', 'ETHEUR', 'ETHUSD', 'LTCEUR', 'LTCUSD', 'USDRON', 'XRPEUR', 'XRPUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURCZK', 'EURGBP', 'EURHUF', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EURZAR', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCZK', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDZAR', 'AA', 'AAPL', 'AC.pa', 'ACA.pa', 'ACB', 'ACKB.br', 'AD.as', 'ADBE', 'ADS.de', 'AGS.br', 'AI.pa', 'AIG', 'AIR.pa', 'ALV.de', 'AMZN', 'AXP', 'BA', 'BABA', 'BAC', 'BAS.de', 'BAYN.de', 'BBVA.mc.', 'BIDU', 'BMW.de', 'BN.pa', 'BNP.pa', 'BRKB', 'BZU.MI', 'C', 'CA.pa', 'CAP.pa', 'CAT', 'CBK.de', 'CGC', 'CRON', 'CS.pa', 'CSCO', 'CVX', 'DAI.de', 'DBK.de', 'DIS', 'DLTR', 'DPW.de', 'DTE.de', 'EBAY', 'EDF.pa', 'EL.pa', 'EN.pa', 'ENI.MI', 'EOAN.de', 'FB', 'FCA.MI', 'FEYE', 'FP.pa', 'FSLR', 'GE', 'GILD', 'GLE.pa', 'GM', 'GOOG', 'GS', 'HAS', 'HEIA.as', 'HEN3.de', 'HOG', 'HPQ', 'HSY', 'IBE.mc', 'IBM', 'IFX.de', 'INGA.as', 'INTC', 'ISP.MI', 'JNJ', 'JPM', 'KBC.br.', 'KO', 'LHA.de', 'LLOY.l', 'LMT', 'LR.pa', 'LVS', 'LYFT', 'M', 'MA.', 'MC.pa', 'MCD.', 'ML.pa', 'MMM', 'MRK.de', 'MS', 'MSFT', 'NFLX', 'NKE', 'NOV', 'NOVN.vx', 'NVDA', 'ORA.pa', 'PANW', 'PFE', 'PG', 'PM', 'PUB.pa', 'PYPL', 'QCOM', 'RACE', 'REGN', 'REP.mc.', 'RI.pa', 'RNO.pa', 'RWE.de', 'SAF.pa', 'SAN.mc.', 'SAN.pa', 'SAP.de', 'SBUX', 'SGO.pa', 'SIE.de', 'SMSN.l', 'SNAP', 'SRE', 'SU.pa', 'T', 'TEF.mc', 'TEVA', 'TGT', 'TKA.de', 'TSLA', 'TWTR', 'UBER', 'UBSG.vx', 'UCG.MI', 'UMI.br.', 'UNA.as', 'URW.as', 'V', 'VIE.pa', 'VIV.pa', 'VK.pa', 'VOW3.de', 'VZ', 'WMT', 'XOM', 'YNDX', 'XAGUSD', 'XAUUSD', 'BRENT', 'COCOA', 'COFFEE', 'CORN', 'COTTON', 'NGAS', 'SUGAR', 'USDX', 'WHEAT', 'WTI', 'FRENCH40', 'GERMAN30', 'JPN225', 'NETHERLAND25', 'SPANISH35', 'SWISS20', 'UK100', 'US30', 'US500', 'USTECH100', 'USVIX')) 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:19:51 Duration: 5m37s Database: acaweb_fx User: postgres Bind query: yes
4 1h41m25s 1 1h41m25s 1h41m25s 1h41m25s select stats_createsummarytables_chartpattens (cast(? as int));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 02 1 1h41m25s 1h41m25s [ User: postgres - Total duration: 1h41m25s - Times executed: 1 ]
-
select stats_createSummaryTables_ChartPattens (cast(4446 as int));
Date: 2021-07-26 02:43:16 Duration: 1h41m25s Database: acaweb_fx User: postgres
5 1h6m43s 207 50ms 5m7s 19s341ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, 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 rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.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 kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 02 207 1h6m43s 19s341ms [ User: postgres - Total duration: 1h6m43s - Times executed: 207 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '763' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 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') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:05:45 Duration: 5m7s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '665' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:05:18 Duration: 4m40s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '665' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:21:30 Duration: 3m47s Database: acaweb_fx User: postgres Bind query: yes
6 1h4m23s 3,557 50ms 3s947ms 1s86ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 02 3,557 1h4m23s 1s86ms [ User: postgres - Total duration: 1h4m23s - Times executed: 3557 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020989, '2021-07-26 03:15:00'::timestamp without time zone, 10.42521, 10.44061, 10.42501, 10.43771, 4178, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1020989 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s947ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983770, '2021-07-26 03:15:00'::timestamp without time zone, 1799.56, 1800.36, 1798.88, 1799.7, 978, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983770 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s891ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986580, '2021-07-26 03:15:00'::timestamp without time zone, 17.4585, 17.48168, 17.45378, 17.47323, 662, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 986580 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s684ms Database: acaweb_fx User: postgres
7 51m48s 1 51m48s 51m48s 51m48s select updateageforrelevantresults ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 02 1 51m48s 51m48s [ User: postgres - Total duration: 51m48s - Times executed: 1 ]
-
select updateageforrelevantresults ();
Date: 2021-07-26 02:53:50 Duration: 51m48s Database: acaweb_fx User: postgres
8 44m40s 1 44m40s 44m40s 44m40s select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 02 1 44m40s 44m40s [ User: postgres - Total duration: 44m40s - Times executed: 1 ]
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:11:06 Duration: 44m40s Database: acaweb_fx User: postgres
9 44m33s 42 700ms 11m30s 1m3s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) 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, 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.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.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 ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or 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 order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 02 42 44m33s 1m3s [ User: postgres - Total duration: 44m33s - Times executed: 42 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:20:32 Duration: 11m30s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m22s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '690' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('2' = 0 OR s.timegranularity in ('15', '60')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR s.symbol in ('#AAPL', '#TSLA', 'AUDUSD', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'EURCAD', 'EURCHF', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'NAS100', 'NZDJPY', 'NZDUSD', 'SPX500', 'US30', 'USDCAD', 'USDCHF', 'USDJPY', 'WTI', 'XAGUSD', 'XAUUSD')) 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:34:15 Duration: 10m11s Database: acaweb_fx User: postgres Bind query: yes
10 44m16s 1,598 50ms 4m42s 1s662ms select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 02 1,598 44m16s 1s662ms [ User: postgres - Total duration: 44m16s - Times executed: 1598 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 630 AND groupid = 5286 AND patternclassid = '1' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:30:56 Duration: 1m50s Database: acaweb_fx User: postgres Bind query: yes
11 43m46s 1,930 50ms 3s949ms 1s360ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 26 02 1,930 43m46s 1s360ms [ User: postgres - Total duration: 43m46s - Times executed: 1930 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969091, '2021-07-26 03:00:00'::timestamp without time zone, 1.17725, 1.17728, 1.17678, 1.17681, 6432, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969091 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s949ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975856, '2021-07-26 03:00:00'::timestamp without time zone, 1.72889, 1.72904, 1.72841, 1.72887, 1621, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975856 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s910ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954147, '2021-07-26 03:00:00'::timestamp without time zone, 1.26504, 1.26524, 1.26453, 1.26478, 1540, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 954147 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s727ms Database: acaweb_fx User: postgres
12 29m24s 870 63ms 1m56s 2s27ms select distinct pricedatetime, high, low from t15_ps where pricedatetime <= current_timestamp and pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime asc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 02 870 29m24s 2s27ms [ User: pgperfstats - Total duration: 29m24s - Times executed: 870 ]
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1031646order by pricedatetime asc;
Date: 2021-07-26 02:23:27 Duration: 1m56s Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1032156order by pricedatetime asc;
Date: 2021-07-26 02:36:16 Duration: 52s246ms Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1034381order by pricedatetime asc;
Date: 2021-07-26 02:45:47 Duration: 41s161ms Database: acaweb_fx User: pgperfstats
13 26m16s 180 50ms 6m2s 8s757ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and (((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 26 02 180 26m16s 8s757ms [ User: postgres - Total duration: 26m16s - Times executed: 180 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:32:53 Duration: 6m2s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:16:36 Duration: 4m19s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:48:48 Duration: 3m1s Database: acaweb_fx User: postgres Bind query: yes
14 24m38s 5,052 50ms 3s208ms 292ms 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) select distinct ?, ?, ?.?, ?, ?, ?::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 where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 02 5,052 24m38s 292ms [ User: postgres - Total duration: 24m38s - Times executed: 5052 ]
-
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) SELECT DISTINCT '1017047-1|44400.5625|44400.6875|44400.625|44403.0625|92.97|92.96|92.78|92.83', 1017047, 3.000000000000000000000000000000, 'Triangle', 4, '2021-07-26 00:29:07'::timestamp without time zone, 1, 0.502474305291218281700000000000, - 1.000000000000000000000000000000, 0.051771336553945258850000000000, 0.488127240143339413700000000000, 0.000000000000000000000000000000, 92.902120990396355180000000000000, 92.947090376951237540000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-27 08:15:00'::timestamp without time zone, '2021-07-23 13:30:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, 92.730000000000003980000000000000, 92.870000000000004550000000000000, '2021-07-23 13:30:00'::timestamp without time zone, '2021-07-23 16:30:00'::timestamp without time zone, '2021-07-23 15:00:00'::timestamp without time zone, '2021-07-26 01:30:00'::timestamp without time zone, 92.969999999999998860000000000000, 92.959999999999993750000000000000, 92.780000000000001140000000000000, 92.829999999999998290000000000000, 0.001562499999999911182000000000, - 0.000833333333333759695100000000, 1.510838045936472307000000000000, 0.338115688382626289300000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, 92.870000000000004550000000000000, 40, 0, 0.159999999999996589400000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 13:30:00'::timestamp without time zone and resx1 = '2021-07-23 16:30:00'::timestamp without time zone and supportx0 = '2021-07-23 15:00:00'::timestamp without time zone and supportx1 = '2021-07-26 01:30:00'::timestamp without time zone and resy0 = 92.969999999999998860000000000000 and resy1 = 92.959999999999993750000000000000 and supporty0 = 92.780000000000001140000000000000 and supporty1 = 92.829999999999998290000000000000 and symbolid = 1017047) or resultid = '1017047-1|44400.5625|44400.6875|44400.625|44403.0625|92.97|92.96|92.78|92.83') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:29:36 Duration: 3s208ms Database: acaweb_fx User: postgres
-
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) SELECT DISTINCT '969937-1|44398.9583|44400.75|44398.3333|44399.6667|34852.85|35091.03|34480.57|34666.65', 969937, 2.000000000000000000000000000000, 'Channel Up', 4, '2021-07-25 23:59:45'::timestamp without time zone, - 1, 0.365907092161843639000000000000, - 1.000000000000000000000000000000, 0.372653572966137547400000000000, 0.407242566345107248600000000000, 0.544957445526792816400000000000, 34813.162645003292710000000000000000, 34943.775268751371180000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-28 11:00:00'::timestamp without time zone, '2021-07-21 08:00:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, 34618.750000000000000000000000000000, 35023.800000000002910000000000000000, '2021-07-21 23:00:00'::timestamp without time zone, '2021-07-23 18:00:00'::timestamp without time zone, '2021-07-21 08:00:00'::timestamp without time zone, '2021-07-22 16:00:00'::timestamp without time zone, 34852.849999999998540000000000000000, 35091.029999999998840000000000000000, 34480.569999999999710000000000000000, 34666.650000000001460000000000000000, 6.002580645161346596000000000000, 5.809268292682934210000000000000, 2.004840984395876546000000000000, 0.501207323781176383800000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, 35037.069999999999710000000000000000, 63, 0, 398.329999999998108200000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-21 23:00:00'::timestamp without time zone and resx1 = '2021-07-23 18:00:00'::timestamp without time zone and supportx0 = '2021-07-21 08:00:00'::timestamp without time zone and supportx1 = '2021-07-22 16:00:00'::timestamp without time zone and resy0 = 34852.849999999998540000000000000000 and resy1 = 35091.029999999998840000000000000000 and supporty0 = 34480.569999999999710000000000000000 and supporty1 = 34666.650000000001460000000000000000 and symbolid = 969937) or resultid = '969937-1|44398.9583|44400.75|44398.3333|44399.6667|34852.85|35091.03|34480.57|34666.65') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:00:14 Duration: 3s44ms Database: acaweb_fx User: postgres
-
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) SELECT DISTINCT '1009981-1|44400.6354|44403.0833|44400.3542|44400.9896|81.324|81.263|81.02|81.032', 1009981, 5.000000000000000000000000000000, 'Descending Triangle', 4, '2021-07-26 00:29:46'::timestamp without time zone, - 1, 0.176361656915638737000000000000, - 1.000000000000000000000000000000, 0.355956716574494513800000000000, 1.000000000000000000000000000000, 0.241155615464535899600000000000, 81.109229899678567220000000000000, 81.138845791532730800000000000000, '2021-07-26 03:15:00'::timestamp without time zone, '2021-07-27 12:37:30'::timestamp without time zone, '2021-07-23 08:30:00'::timestamp without time zone, '2021-07-26 03:15:00'::timestamp without time zone, 81.161000000000001360000000000000, 81.159000000000006020000000000000, '2021-07-23 15:15:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-23 08:30:00'::timestamp without time zone, '2021-07-23 23:45:00'::timestamp without time zone, 81.323999999999998060000000000000, 81.263000000000005230000000000000, 81.019999999999996020000000000000, 81.031999999999996480000000000000, 0.000196721311475417278900000000, - 0.001418604651162624214000000000, 1.161672822789790338000000000000, 0.139172424126724869600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 03:15:00'::timestamp without time zone, 81.159999999999996590000000000000, 75, 0, 0.267500000000005400100000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 15:15:00'::timestamp without time zone and resx1 = '2021-07-26 02:00:00'::timestamp without time zone and supportx0 = '2021-07-23 08:30:00'::timestamp without time zone and supportx1 = '2021-07-23 23:45:00'::timestamp without time zone and resy0 = 81.323999999999998060000000000000 and resy1 = 81.263000000000005230000000000000 and supporty0 = 81.019999999999996020000000000000 and supporty1 = 81.031999999999996480000000000000 and symbolid = 1009981) or resultid = '1009981-1|44400.6354|44403.0833|44400.3542|44400.9896|81.324|81.263|81.02|81.032') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:30:14 Duration: 2s84ms Database: acaweb_fx User: postgres
15 22m13s 3,294 50ms 3s271ms 404ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 26 02 3,294 22m13s 404ms [ User: postgres - Total duration: 22m13s - Times executed: 3294 ]
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 10.000000000000000000000000000000, - 1, 1, '2021-07-26 00:29:07'::timestamp without time zone, '2021-07-26 02:00:00', 0.065000000000000848760000000000, 3, 257, 92.920000000000001710000000000000, '2021-07-23 09:15:00', '2021-07-22 19:30:00', '2021-07-20 21:00:00', '', '', '', '', '', '', '', 400, 92.953000000000002960000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-26 02:00:00', 92.870000000000004550000000000000, 0.032999999999999800330000000000, 1, 1017047, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1017047|92.92|1|2021-07-26 02:00:00|2021-07-26 02:00:00|1|-1', 92.830299999999994040000000000000, 0.089700000000007662500000000000, 2, '2021-07-20 21:00:00', 92.829999999999998290000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1017047|92.92|1|2021-07-26 02:00:00|2021-07-26 02:00:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:29:36 Duration: 3s271ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, - 1, 1, '2021-07-25 23:59:47'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 20, 4413.470000000000255000000000000000, '2021-07-26 02:15:00', '2021-07-23 21:00:00', '2021-07-23 20:15:00', '', '', '', '', '', '', '', 40, 4414.007999999999811000000000000000, '2021-07-26 02:45:00'::timestamp without time zone, '2021-07-26 02:45:00', 0.000000000000000000000000000000, 0.994999999999981898900000000000, - 1, 969940, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|969940|4413.47|1|2021-07-26 02:45:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-23 20:15:00', 4415.569999999999709000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|969940|4413.47|1|2021-07-26 02:45:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:00:17 Duration: 2s910ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 4.000000000000000000000000000000, - 1, 1, '2021-07-26 00:14:34'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 20, 4413.470000000000255000000000000000, '2021-07-26 02:15:00', '2021-07-23 21:00:00', '2021-07-23 20:15:00', '', '', '', '', '', '', '', 40, 4414.007999999999811000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-26 03:00:00', 0.000000000000000000000000000000, 0.994999999999981898900000000000, - 1, 969940, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|969940|4413.47|1|2021-07-26 03:00:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-23 20:15:00', 4415.569999999999709000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|969940|4413.47|1|2021-07-26 03:00:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:15:04 Duration: 2s764ms Database: acaweb_fx User: postgres
16 21m2s 135 220ms 43s78ms 9s355ms select * from ( select pricedatetime, open, high, low, close, volume, bsf from t60 where symbolid = ? and (bsf = ? or bsf is null) order by pricedatetime desc limit ?) a order by pricedatetime asc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 02 135 21m2s 9s355ms [ User: postgres - Total duration: 21m2s - Times executed: 135 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '988117' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:04:04 Duration: 43s78ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '988117' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:04:04 Duration: 42s984ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:03:47 Duration: 40s457ms Database: acaweb_fx User: postgres Bind query: yes
17 20m51s 834 50ms 2m29s 1s500ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 02 834 20m51s 1s500ms [ User: postgres - Total duration: 20m51s - Times executed: 834 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:16:13 Duration: 57s705ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 32s224ms Database: acaweb_fx User: postgres Bind query: yes
18 20m17s 72 1s956ms 53s113ms 16s906ms select * from ( select pricedatetime, open, high, low, close, volume, bsf from t30 where symbolid = ? and (bsf = ? or bsf is null) order by pricedatetime desc limit ?) a order by pricedatetime asc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 02 72 20m17s 16s906ms [ User: postgres - Total duration: 20m17s - Times executed: 72 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s113ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s57ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1015042' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:35 Duration: 48s804ms Database: acaweb_fx User: postgres Bind query: yes
19 17m41s 966 55ms 3s473ms 1s99ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 02 966 17m41s 1s99ms [ User: postgres - Total duration: 17m41s - Times executed: 966 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016038, '2021-07-26 01:00:00'::timestamp without time zone, 0.73652, 0.73678, 0.73629, 0.73678, 672, 0, '2021-07-26 02:01:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016038 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:14 Duration: 3s473ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986732, '2021-07-26 02:00:00'::timestamp without time zone, 81.434, 81.459, 81.404, 81.448, 1369, 0, '2021-07-26 02:01:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986732 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:15 Duration: 3s163ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016303, '2021-07-26 01:00:00'::timestamp without time zone, 72.3, 72.37, 72.24, 72.32, 148, 0, '2021-07-26 02:01:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016303 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:16 Duration: 3s70ms Database: acaweb_fx User: postgres
20 17m3s 621 50ms 2m30s 1s648ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 02 621 17m3s 1s648ms [ User: postgres - Total duration: 17m3s - Times executed: 621 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m30s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 1m33s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4858 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:02:14 Duration: 1m5s Database: acaweb_fx User: postgres Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 5,052 24m38s 50ms 3s208ms 292ms 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) select distinct ?, ?, ?.?, ?, ?, ?::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 where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 02 5,052 24m38s 292ms [ User: postgres - Total duration: 24m38s - Times executed: 5052 ]
-
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) SELECT DISTINCT '1017047-1|44400.5625|44400.6875|44400.625|44403.0625|92.97|92.96|92.78|92.83', 1017047, 3.000000000000000000000000000000, 'Triangle', 4, '2021-07-26 00:29:07'::timestamp without time zone, 1, 0.502474305291218281700000000000, - 1.000000000000000000000000000000, 0.051771336553945258850000000000, 0.488127240143339413700000000000, 0.000000000000000000000000000000, 92.902120990396355180000000000000, 92.947090376951237540000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-27 08:15:00'::timestamp without time zone, '2021-07-23 13:30:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, 92.730000000000003980000000000000, 92.870000000000004550000000000000, '2021-07-23 13:30:00'::timestamp without time zone, '2021-07-23 16:30:00'::timestamp without time zone, '2021-07-23 15:00:00'::timestamp without time zone, '2021-07-26 01:30:00'::timestamp without time zone, 92.969999999999998860000000000000, 92.959999999999993750000000000000, 92.780000000000001140000000000000, 92.829999999999998290000000000000, 0.001562499999999911182000000000, - 0.000833333333333759695100000000, 1.510838045936472307000000000000, 0.338115688382626289300000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, 92.870000000000004550000000000000, 40, 0, 0.159999999999996589400000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 13:30:00'::timestamp without time zone and resx1 = '2021-07-23 16:30:00'::timestamp without time zone and supportx0 = '2021-07-23 15:00:00'::timestamp without time zone and supportx1 = '2021-07-26 01:30:00'::timestamp without time zone and resy0 = 92.969999999999998860000000000000 and resy1 = 92.959999999999993750000000000000 and supporty0 = 92.780000000000001140000000000000 and supporty1 = 92.829999999999998290000000000000 and symbolid = 1017047) or resultid = '1017047-1|44400.5625|44400.6875|44400.625|44403.0625|92.97|92.96|92.78|92.83') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:29:36 Duration: 3s208ms Database: acaweb_fx User: postgres
-
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) SELECT DISTINCT '969937-1|44398.9583|44400.75|44398.3333|44399.6667|34852.85|35091.03|34480.57|34666.65', 969937, 2.000000000000000000000000000000, 'Channel Up', 4, '2021-07-25 23:59:45'::timestamp without time zone, - 1, 0.365907092161843639000000000000, - 1.000000000000000000000000000000, 0.372653572966137547400000000000, 0.407242566345107248600000000000, 0.544957445526792816400000000000, 34813.162645003292710000000000000000, 34943.775268751371180000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-28 11:00:00'::timestamp without time zone, '2021-07-21 08:00:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, 34618.750000000000000000000000000000, 35023.800000000002910000000000000000, '2021-07-21 23:00:00'::timestamp without time zone, '2021-07-23 18:00:00'::timestamp without time zone, '2021-07-21 08:00:00'::timestamp without time zone, '2021-07-22 16:00:00'::timestamp without time zone, 34852.849999999998540000000000000000, 35091.029999999998840000000000000000, 34480.569999999999710000000000000000, 34666.650000000001460000000000000000, 6.002580645161346596000000000000, 5.809268292682934210000000000000, 2.004840984395876546000000000000, 0.501207323781176383800000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 02:00:00'::timestamp without time zone, 35037.069999999999710000000000000000, 63, 0, 398.329999999998108200000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-21 23:00:00'::timestamp without time zone and resx1 = '2021-07-23 18:00:00'::timestamp without time zone and supportx0 = '2021-07-21 08:00:00'::timestamp without time zone and supportx1 = '2021-07-22 16:00:00'::timestamp without time zone and resy0 = 34852.849999999998540000000000000000 and resy1 = 35091.029999999998840000000000000000 and supporty0 = 34480.569999999999710000000000000000 and supporty1 = 34666.650000000001460000000000000000 and symbolid = 969937) or resultid = '969937-1|44398.9583|44400.75|44398.3333|44399.6667|34852.85|35091.03|34480.57|34666.65') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:00:14 Duration: 3s44ms Database: acaweb_fx User: postgres
-
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) SELECT DISTINCT '1009981-1|44400.6354|44403.0833|44400.3542|44400.9896|81.324|81.263|81.02|81.032', 1009981, 5.000000000000000000000000000000, 'Descending Triangle', 4, '2021-07-26 00:29:46'::timestamp without time zone, - 1, 0.176361656915638737000000000000, - 1.000000000000000000000000000000, 0.355956716574494513800000000000, 1.000000000000000000000000000000, 0.241155615464535899600000000000, 81.109229899678567220000000000000, 81.138845791532730800000000000000, '2021-07-26 03:15:00'::timestamp without time zone, '2021-07-27 12:37:30'::timestamp without time zone, '2021-07-23 08:30:00'::timestamp without time zone, '2021-07-26 03:15:00'::timestamp without time zone, 81.161000000000001360000000000000, 81.159000000000006020000000000000, '2021-07-23 15:15:00'::timestamp without time zone, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-23 08:30:00'::timestamp without time zone, '2021-07-23 23:45:00'::timestamp without time zone, 81.323999999999998060000000000000, 81.263000000000005230000000000000, 81.019999999999996020000000000000, 81.031999999999996480000000000000, 0.000196721311475417278900000000, - 0.001418604651162624214000000000, 1.161672822789790338000000000000, 0.139172424126724869600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 03:15:00'::timestamp without time zone, 81.159999999999996590000000000000, 75, 0, 0.267500000000005400100000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 15:15:00'::timestamp without time zone and resx1 = '2021-07-26 02:00:00'::timestamp without time zone and supportx0 = '2021-07-23 08:30:00'::timestamp without time zone and supportx1 = '2021-07-23 23:45:00'::timestamp without time zone and resy0 = 81.323999999999998060000000000000 and resy1 = 81.263000000000005230000000000000 and supporty0 = 81.019999999999996020000000000000 and supporty1 = 81.031999999999996480000000000000 and symbolid = 1009981) or resultid = '1009981-1|44400.6354|44403.0833|44400.3542|44400.9896|81.324|81.263|81.02|81.032') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:30:14 Duration: 2s84ms Database: acaweb_fx User: postgres
2 3,762 10m47s 50ms 1s545ms 171ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 02 3,762 10m47s 171ms [ User: postgres - Total duration: 10m47s - Times executed: 3762 ]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:00:00', reason = 'Pattern is too old to be relevant. PEIndex at 619 vs 630' WHERE uniqueIndex = '1019706-1|44393.5|44399.875|44393.375|44400.25|74.09|73.895|73|72.695' and relevant = 1;
Date: 2021-07-26 02:48:16 Duration: 1s545ms Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Price has entered the prediction area for a completed pattern' WHERE uniqueIndex = '9541760.1166|44400.9688|44403.0417|44400.8958|44403|88.016|88.008|87.878|87.883' and relevant = 1;
Date: 2021-07-26 02:46:24 Duration: 1s530ms Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Price has entered the prediction area for a completed pattern' WHERE uniqueIndex = '9541760.2005|44400.9688|44403.0417|44400.7188|44403|88.016|88.008|87.625|87.883' and relevant = 1;
Date: 2021-07-26 02:46:24 Duration: 1s518ms Database: acaweb_fx User: postgres
3 3,557 1h4m23s 50ms 3s947ms 1s86ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 02 3,557 1h4m23s 1s86ms [ User: postgres - Total duration: 1h4m23s - Times executed: 3557 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020989, '2021-07-26 03:15:00'::timestamp without time zone, 10.42521, 10.44061, 10.42501, 10.43771, 4178, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1020989 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s947ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983770, '2021-07-26 03:15:00'::timestamp without time zone, 1799.56, 1800.36, 1798.88, 1799.7, 978, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983770 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s891ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986580, '2021-07-26 03:15:00'::timestamp without time zone, 17.4585, 17.48168, 17.45378, 17.47323, 662, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 986580 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s684ms Database: acaweb_fx User: postgres
4 3,294 22m13s 50ms 3s271ms 404ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 02 3,294 22m13s 404ms [ User: postgres - Total duration: 22m13s - Times executed: 3294 ]
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 10.000000000000000000000000000000, - 1, 1, '2021-07-26 00:29:07'::timestamp without time zone, '2021-07-26 02:00:00', 0.065000000000000848760000000000, 3, 257, 92.920000000000001710000000000000, '2021-07-23 09:15:00', '2021-07-22 19:30:00', '2021-07-20 21:00:00', '', '', '', '', '', '', '', 400, 92.953000000000002960000000000000, '2021-07-26 02:00:00'::timestamp without time zone, '2021-07-26 02:00:00', 92.870000000000004550000000000000, 0.032999999999999800330000000000, 1, 1017047, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1017047|92.92|1|2021-07-26 02:00:00|2021-07-26 02:00:00|1|-1', 92.830299999999994040000000000000, 0.089700000000007662500000000000, 2, '2021-07-20 21:00:00', 92.829999999999998290000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1017047|92.92|1|2021-07-26 02:00:00|2021-07-26 02:00:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:29:36 Duration: 3s271ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, - 1, 1, '2021-07-25 23:59:47'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 20, 4413.470000000000255000000000000000, '2021-07-26 02:15:00', '2021-07-23 21:00:00', '2021-07-23 20:15:00', '', '', '', '', '', '', '', 40, 4414.007999999999811000000000000000, '2021-07-26 02:45:00'::timestamp without time zone, '2021-07-26 02:45:00', 0.000000000000000000000000000000, 0.994999999999981898900000000000, - 1, 969940, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|969940|4413.47|1|2021-07-26 02:45:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-23 20:15:00', 4415.569999999999709000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|969940|4413.47|1|2021-07-26 02:45:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:00:17 Duration: 2s910ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 4.000000000000000000000000000000, - 1, 1, '2021-07-26 00:14:34'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 20, 4413.470000000000255000000000000000, '2021-07-26 02:15:00', '2021-07-23 21:00:00', '2021-07-23 20:15:00', '', '', '', '', '', '', '', 40, 4414.007999999999811000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-26 03:00:00', 0.000000000000000000000000000000, 0.994999999999981898900000000000, - 1, 969940, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|969940|4413.47|1|2021-07-26 03:00:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-23 20:15:00', 4415.569999999999709000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|969940|4413.47|1|2021-07-26 03:00:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:15:04 Duration: 2s764ms Database: acaweb_fx User: postgres
5 2,218 6m18s 50ms 2s575ms 170ms select upsert_t15 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 02 2,218 6m18s 170ms [ User: postgres - Total duration: 6m18s - Times executed: 2218 ]
-
SELECT upsert_t15 ('2021-07-26 03:35:00', '7400.53', '7402.53', '7396.53', '7399.53', '119', '1032156', '0', '2021-07-26 02:55:19.787', '2021-07-26 02:55:19.773');
Date: 2021-07-26 02:55:22 Duration: 2s575ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t15 ('2021-07-26 02:45:00', '1.375685', '1.375915', '1.375585', '1.3757', '158', '988110', '0', '2021-07-26 02:00:07.993', '2021-07-26 02:00:07.46');
Date: 2021-07-26 02:00:09 Duration: 1s706ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t15 ('2021-07-26 03:05:00', '7403.53', '7408.53', '7398.53', '7404.53', '280', '1032156', '0', '2021-07-26 02:25:21.937', '2021-07-26 02:25:21.92');
Date: 2021-07-26 02:25:23 Duration: 1s673ms Database: acaweb_fx User: postgres Bind query: yes
6 1,930 43m46s 50ms 3s949ms 1s360ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 02 1,930 43m46s 1s360ms [ User: postgres - Total duration: 43m46s - Times executed: 1930 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969091, '2021-07-26 03:00:00'::timestamp without time zone, 1.17725, 1.17728, 1.17678, 1.17681, 6432, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969091 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s949ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975856, '2021-07-26 03:00:00'::timestamp without time zone, 1.72889, 1.72904, 1.72841, 1.72887, 1621, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975856 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s910ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954147, '2021-07-26 03:00:00'::timestamp without time zone, 1.26504, 1.26524, 1.26453, 1.26478, 1540, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 954147 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s727ms Database: acaweb_fx User: postgres
7 1,598 44m16s 50ms 4m42s 1s662ms select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 02 1,598 44m16s 1s662ms [ User: postgres - Total duration: 44m16s - Times executed: 1598 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 630 AND groupid = 5286 AND patternclassid = '1' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:30:56 Duration: 1m50s Database: acaweb_fx User: postgres Bind query: yes
8 1,480 3m49s 50ms 3s132ms 155ms select upsert_t30 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 02 1,480 3m49s 155ms [ User: postgres - Total duration: 3m49s - Times executed: 1480 ]
-
SELECT upsert_t30 ('2021-07-20 22:30:00', '181.7', '182.465', '181.01', '182.325', '3323', '1028827', '0', '2021-07-26 02:17:22.467', '2021-07-26 02:17:21.685');
Date: 2021-07-26 02:17:25 Duration: 3s132ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t30 ('2021-07-23 23:00:00', '12.446', '12.455', '12.444', '12.453', '202', '1031817', '0', '2021-07-26 02:32:56.856', '2021-07-26 02:30:33.308');
Date: 2021-07-26 02:32:59 Duration: 3s91ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t30 ('2021-07-23 17:00:00', '28177.4', '28217.4', '28172.4', '28207.4', '128', '1028487', '0', '2021-07-26 02:00:15.76', '2021-07-26 02:00:10.954');
Date: 2021-07-26 02:00:18 Duration: 2s739ms Database: acaweb_fx User: postgres Bind query: yes
9 1,095 1m42s 50ms 562ms 93ms select updatedatafeedslatestrun (?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 02 1,095 1m42s 93ms [ User: postgres - Total duration: 1m42s - Times executed: 1095 ]
-
select updateDatafeedsLatestRun ('AXIORY');
Date: 2021-07-26 02:05:13 Duration: 562ms Database: acaweb_fx User: postgres
-
select updateDatafeedsLatestRun ('DKFX');
Date: 2021-07-26 02:14:34 Duration: 489ms Database: acaweb_fx User: postgres
-
select updateDatafeedsLatestRun ('DKFX');
Date: 2021-07-26 02:21:02 Duration: 474ms Database: acaweb_fx User: postgres
10 1,057 3m16s 50ms 851ms 186ms select * from powerstatslatestprfprice (?, ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 02 1,057 3m16s 186ms [ User: postgres - Total duration: 3m16s - Times executed: 1057 ]
-
select * from PowerStatsLatestPRFPrice ('1021209', '15');
Date: 2021-07-26 02:12:07 Duration: 851ms Database: acaweb_fx User: postgres Bind query: yes
-
select * from PowerStatsLatestPRFPrice ('1002771', '15');
Date: 2021-07-26 02:33:00 Duration: 804ms Database: acaweb_fx User: postgres Bind query: yes
-
select * from PowerStatsLatestPRFPrice ('982395', '15');
Date: 2021-07-26 02:32:57 Duration: 781ms Database: acaweb_fx User: postgres Bind query: yes
11 966 17m41s 55ms 3s473ms 1s99ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 26 02 966 17m41s 1s99ms [ User: postgres - Total duration: 17m41s - Times executed: 966 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016038, '2021-07-26 01:00:00'::timestamp without time zone, 0.73652, 0.73678, 0.73629, 0.73678, 672, 0, '2021-07-26 02:01:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016038 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:14 Duration: 3s473ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986732, '2021-07-26 02:00:00'::timestamp without time zone, 81.434, 81.459, 81.404, 81.448, 1369, 0, '2021-07-26 02:01:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986732 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:15 Duration: 3s163ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016303, '2021-07-26 01:00:00'::timestamp without time zone, 72.3, 72.37, 72.24, 72.32, 148, 0, '2021-07-26 02:01:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016303 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:16 Duration: 3s70ms Database: acaweb_fx User: postgres
12 870 29m24s 63ms 1m56s 2s27ms select distinct pricedatetime, high, low from t15_ps where pricedatetime <= current_timestamp and pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime asc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 02 870 29m24s 2s27ms [ User: pgperfstats - Total duration: 29m24s - Times executed: 870 ]
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1031646order by pricedatetime asc;
Date: 2021-07-26 02:23:27 Duration: 1m56s Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1032156order by pricedatetime asc;
Date: 2021-07-26 02:36:16 Duration: 52s246ms Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1034381order by pricedatetime asc;
Date: 2021-07-26 02:45:47 Duration: 41s161ms Database: acaweb_fx User: pgperfstats
13 834 20m51s 50ms 2m29s 1s500ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 26 02 834 20m51s 1s500ms [ User: postgres - Total duration: 20m51s - Times executed: 834 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:16:13 Duration: 57s705ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 32s224ms Database: acaweb_fx User: postgres Bind query: yes
14 809 1m47s 50ms 3s254ms 132ms select upsert_t60 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 02 809 1m47s 132ms [ User: postgres - Total duration: 1m47s - Times executed: 809 ]
-
SELECT upsert_t60 ('2021-07-23 23:00:00', '12.446', '12.455', '12.444', '12.453', '202', '1031818', '0', '2021-07-26 02:46:12.292', '2021-07-26 02:46:09.7');
Date: 2021-07-26 02:46:15 Duration: 3s254ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t60 ('2021-07-23 21:00:00', '73.48', '73.52', '73.42', '73.51', '209', '1028013', '0', '2021-07-26 02:00:11.119', '2021-07-26 02:00:11');
Date: 2021-07-26 02:00:13 Duration: 2s828ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t60 ('2021-07-23 20:00:00', '686.9', '689.6', '680.6', '682', '603', '1028103', '0', '2021-07-26 02:34:13.822', '2021-07-26 02:34:11.014');
Date: 2021-07-26 02:34:16 Duration: 2s720ms Database: acaweb_fx User: postgres Bind query: yes
15 764 16m42s 50ms 35s130ms 1s312ms select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 26 02 764 16m42s 1s312ms [ User: postgres - Total duration: 16m42s - Times executed: 764 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5376 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321780 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:17:41 Duration: 35s130ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5376 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321780 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:17:41 Duration: 35s129ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5123 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321804 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:30:41 Duration: 16s711ms Database: acaweb_fx User: postgres Bind query: yes
16 635 3m8s 50ms 2s567ms 296ms insert into fibonacci_results (bandwidth, pattern, gmttimefound, direction, patternstarttime, patternendtime, patternstartprice, patternendprice, qtytp, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, patternlengthbars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) select distinct ?.?, ?, ?::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 where not exists ( select ? from fibonacci_results where pattern ilike ? and direction = ? and patternstarttime = ?::timestamp without time zone and patternstartprice = ?.? and qtytp = ? and patternlengthbars = ? and ratiosfound = ? and temporarypattern = ? and symbolid = ? and timex = ?::timestamp without time zone and timea = ?::timestamp without time zone and timeb = ?::timestamp without time zone and timec = ?::timestamp without time zone and timed = ?::timestamp without time zone) limit ? on conflict do nothing;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 02 635 3m8s 296ms [ User: postgres - Total duration: 3m8s - Times executed: 635 ]
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000000000000000000000000000, 'ABCD', '2021-07-25 23:59:54'::timestamp without time zone, - 1, '2021-07-23 21:30:00'::timestamp without time zone, '2021-07-26 01:45:00'::timestamp without time zone, 81.478999999999999200000000000000, - 1.000000000000000000000000000000, 4, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 81.379999999999995460000000000000, '2021-07-23 22:45:00'::timestamp without time zone, 81.472999999999998980000000000000, '2021-07-26 00:00:00'::timestamp without time zone, 81.400999999999996250000000000000, '2021-07-26 01:45:00'::timestamp without time zone, 81.493999999999999780000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.740484022556387122600000000000, - 1.000000000000000000000000000000, 3.898550989576079040000000000000, 9, 81.400999999999996250000000000000, 81.436522839050894620000000000000, 81.343522839050891100000000000000, 81.420887921864590460000000000000, 81.375702172596490420000000000000, 81.447499999999990900000000000000, 81.458477160949101400000000000000, 961696, 0.519031954887225865900000000000, 'BC=0.786*AB (0.774) ', 0, 'ABCD|-1|2021-07-23 21:30:00|81.479|-1|4|9|BC=0.786*AB (0.774)|0|961696|1899-12-29 00:00:00|2021-07-23 22:45:00|2021-07-26 00:00:00|2021-07-26 01:45:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'ABCD' AND direction = - 1 AND patternstarttime = '2021-07-23 21:30:00'::timestamp without time zone AND patternstartprice = 81.478999999999999200000000000000 AND qtytp = 4 AND patternlengthbars = 9 AND ratiosfound = 'BC=0.786*AB (0.774) ' AND temporarypattern = 0 AND symbolid = 961696 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '2021-07-23 22:45:00'::timestamp without time zone AND timeb = '2021-07-26 00:00:00'::timestamp without time zone AND timec = '2021-07-26 01:45:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:00:24 Duration: 2s567ms Database: acaweb_fx User: postgres
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, 'Gartley', '2021-07-26 00:29:50'::timestamp without time zone, 1, '2021-07-23 10:30:00'::timestamp without time zone, '2021-07-25 20:15:00'::timestamp without time zone, 1.176600000000000090000000000000, - 1.000000000000000000000000000000, 5, 1.176600000000000090000000000000, '2021-07-23 10:30:00'::timestamp without time zone, 1.178749999999999964000000000000, '2021-07-23 15:30:00'::timestamp without time zone, 1.177950000000000053000000000000, '2021-07-25 18:00:00'::timestamp without time zone, 1.178549999999999986000000000000, '2021-07-25 18:15:00'::timestamp without time zone, 1.177928773075705093000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.663246533097465063000000000000, - 1.000000000000000000000000000000, 10.533807259943346324000000000000, 34, 1.178549999999999986000000000000, 1.178312712429614884000000000000, 1.178933939353909777000000000000, 1.178417151478166058000000000000, 1.178718985930206742000000000000, 1.178239386537852429000000000000, 1.178166060646090196000000000000, 919313, 0.673506933805069763000000000000, 'BC=0.786*AB (0.75) ', 0, 'Gartley|1|2021-07-23 10:30:00|1.1766|-1|5|34|BC=0.786*AB (0.75)|0|919313|2021-07-23 10:30:00|2021-07-23 15:30:00|2021-07-25 18:00:00|2021-07-25 18:15:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'Gartley' AND direction = 1 AND patternstarttime = '2021-07-23 10:30:00'::timestamp without time zone AND patternstartprice = 1.176600000000000090000000000000 AND qtytp = 5 AND patternlengthbars = 34 AND ratiosfound = 'BC=0.786*AB (0.75) ' AND temporarypattern = 0 AND symbolid = 919313 AND timex = '2021-07-23 10:30:00'::timestamp without time zone AND timea = '2021-07-23 15:30:00'::timestamp without time zone AND timeb = '2021-07-25 18:00:00'::timestamp without time zone AND timec = '2021-07-25 18:15:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:30:20 Duration: 2s538ms Database: acaweb_fx User: postgres
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000000000000000000000000000, '3 Point Extension', '2021-07-26 00:29:51'::timestamp without time zone, - 1, '2021-07-23 22:30:00'::timestamp without time zone, '2021-07-26 03:15:00'::timestamp without time zone, 15126.520000000000440000000000000000, 15116.600000000000360000000000000000, 3, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 15126.520000000000440000000000000000, '2021-07-23 22:30:00'::timestamp without time zone, 15096.170000000000070000000000000000, '2021-07-23 23:45:00'::timestamp without time zone, 15134.600000000000360000000000000000, '2021-07-26 02:45:00'::timestamp without time zone, 0.294304313406059614400000000000, - 1.000000000000000000000000000000, 0.091072522206394862510000000000, 13, 15096.170000000000070000000000000000, 15110.848953814258490000000000000000, 15072.418953814258200000000000000000, 15104.388202551146600000000000000000, 15085.716284869715310000000000000000, 15115.385000000000220000000000000000, 15119.921046185741940000000000000000, 970020, 0.502463895394275605900000000000, 'CD=1.272*BC (1.266) ', 0, '3 Point Extension|-1|2021-07-23 22:30:00|15126.52|15116.6|3|13|CD=1.272*BC (1.266)|0|970020|1899-12-29 00:00:00|1899-12-29 00:00:00|2021-07-23 22:30:00|2021-07-23 23:45:00|2021-07-26 02:45:00', 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike '3 Point Extension' AND direction = - 1 AND patternstarttime = '2021-07-23 22:30:00'::timestamp without time zone AND patternstartprice = 15126.520000000000440000000000000000 AND qtytp = 3 AND patternlengthbars = 13 AND ratiosfound = 'CD=1.272*BC (1.266) ' AND temporarypattern = 0 AND symbolid = 970020 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '1899-12-29 00:00:00'::timestamp without time zone AND timeb = '2021-07-23 22:30:00'::timestamp without time zone AND timec = '2021-07-23 23:45:00'::timestamp without time zone AND timed = '2021-07-26 02:45:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 02:30:20 Duration: 2s499ms Database: acaweb_fx User: postgres
17 621 17m3s 50ms 2m30s 1s648ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 02 621 17m3s 1s648ms [ User: postgres - Total duration: 17m3s - Times executed: 621 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m30s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 1m33s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4858 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:02:14 Duration: 1m5s Database: acaweb_fx User: postgres Bind query: yes
18 574 54s501ms 50ms 1s216ms 94ms update datafeeds_latestrun set latestdbwritetime = current_timestamp where feedname ilike ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 02 574 54s501ms 94ms [ User: postgres - Total duration: 54s501ms - Times executed: 574 ]
-
UPDATE DataFeeds_LatestRun SET LatestDBWriteTime = Current_TimeStamp WHERE FeedName ilike 'VALBURYFUTURES';
Date: 2021-07-26 02:50:15 Duration: 1s216ms Database: acaweb_fx User: postgres
-
UPDATE DataFeeds_LatestRun SET LatestDBWriteTime = Current_TimeStamp WHERE FeedName ilike 'VALBURYCAPITAL';
Date: 2021-07-26 02:48:15 Duration: 471ms Database: acaweb_fx User: postgres
-
UPDATE DataFeeds_LatestRun SET LatestDBWriteTime = Current_TimeStamp WHERE FeedName ilike 'SECONDBMFN';
Date: 2021-07-26 02:14:34 Duration: 398ms Database: acaweb_fx User: postgres
19 460 6m3s 58ms 3s497ms 790ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 02 460 6m3s 790ms [ User: postgres - Total duration: 6m3s - Times executed: 460 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002011, '2021-07-25 20:00:00'::timestamp without time zone, 4409.1, 4409.4, 4405.1, 4405.4, 1275, 0, '2021-07-26 02:32:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002011 AND pricedatetime = '2021-07-25 20:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002011, '2021-07-25 20:15:00'::timestamp without time zone, 4405.3, 4405.9, 4402.1, 4402.9, 982, 0, '2021-07-26 02:32:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002011 AND pricedatetime = '2021-07-25 20:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s497ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969055, '2021-07-26 03:00:00'::timestamp without time zone, 130.141, 130.153, 130.088, 130.135, 1411, 0, '2021-07-26 02:32:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969055 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969055, '2021-07-26 03:15:00'::timestamp without time zone, 130.135, 130.135, 130.083, 130.091, 1091, 0, '2021-07-26 02:32:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969055 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:08 Duration: 3s296ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969190, '2021-07-23 22:45:00'::timestamp without time zone, 15672.15, 15672.61, 15661.65, 15664.14, 1203, 0, '2021-07-26 02:33:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969190 AND pricedatetime = '2021-07-23 22:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969190, '2021-07-26 03:15:00'::timestamp without time zone, 15623.79, 15629.3, 15613.65, 15617.12, 965, 0, '2021-07-26 02:33:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969190 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:33:14 Duration: 3s204ms Database: acaweb_fx User: postgres
20 425 7m44s 50ms 18s520ms 1s92ms select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 02 425 7m44s 1s92ms [ User: postgres - Total duration: 7m44s - Times executed: 425 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:18:16 Duration: 18s520ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:30:36 Duration: 17s147ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND sg.groupid = 4262 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61322721 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:29:10 Duration: 14s59ms Database: acaweb_fx User: postgres Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h41m25s 1h41m25s 1h41m25s 1 1h41m25s select stats_createsummarytables_chartpattens (cast(? as int));Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 02 1 1h41m25s 1h41m25s [ User: postgres - Total duration: 1h41m25s - Times executed: 1 ]
-
select stats_createSummaryTables_ChartPattens (cast(4446 as int));
Date: 2021-07-26 02:43:16 Duration: 1h41m25s Database: acaweb_fx User: postgres
2 51m48s 51m48s 51m48s 1 51m48s select updateageforrelevantresults ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 02 1 51m48s 51m48s [ User: postgres - Total duration: 51m48s - Times executed: 1 ]
-
select updateageforrelevantresults ();
Date: 2021-07-26 02:53:50 Duration: 51m48s Database: acaweb_fx User: postgres
3 44m40s 44m40s 44m40s 1 44m40s select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 02 1 44m40s 44m40s [ User: postgres - Total duration: 44m40s - Times executed: 1 ]
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:11:06 Duration: 44m40s Database: acaweb_fx User: postgres
4 64ms 1h15m33s 4m9s 185 12h50m5s select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 02 185 12h50m5s 4m9s [ User: postgres - Total duration: 12h50m5s - Times executed: 185 ]
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h2s Database: acaweb_fx User: postgres
5 1s135ms 10m27s 1m51s 70 2h9m32s (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 02 70 2h9m32s 1m51s [ User: postgres - Total duration: 2h9m32s - Times executed: 70 ]
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:23:08 Duration: 10m27s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:54:09 Duration: 7m48s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '660' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '660' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 02:50:23 Duration: 7m16s Database: acaweb_fx User: postgres Bind query: yes
6 700ms 11m30s 1m3s 42 44m33s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) 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, 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.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.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 ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or 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 order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 02 42 44m33s 1m3s [ User: postgres - Total duration: 44m33s - Times executed: 42 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:20:32 Duration: 11m30s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m22s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '690' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('2' = 0 OR s.timegranularity in ('15', '60')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR s.symbol in ('#AAPL', '#TSLA', 'AUDUSD', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'EURCAD', 'EURCHF', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'NAS100', 'NZDJPY', 'NZDUSD', 'SPX500', 'US30', 'USDCAD', 'USDCHF', 'USDJPY', 'WTI', 'XAGUSD', 'XAUUSD')) 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:34:15 Duration: 10m11s Database: acaweb_fx User: postgres Bind query: yes
7 217ms 10m10s 26s333ms 239 1h44m53s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) 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, 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 rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.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 ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or 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 order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 02 239 1h44m53s 26s333ms [ User: postgres - Total duration: 1h44m53s - Times executed: 239 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('329' = 0 OR 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', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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', 'EURTRY', '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', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', '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', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m10s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:33:20 Duration: 8m17s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) 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, 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 rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '660' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.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 ar.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 relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('224' = 0 OR s.symbol in ('BCHEUR', 'BCHUSD', 'BTCEUR', 'BTCUSD', 'ETHEUR', 'ETHUSD', 'LTCEUR', 'LTCUSD', 'USDRON', 'XRPEUR', 'XRPUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURCZK', 'EURGBP', 'EURHUF', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EURZAR', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCZK', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDZAR', 'AA', 'AAPL', 'AC.pa', 'ACA.pa', 'ACB', 'ACKB.br', 'AD.as', 'ADBE', 'ADS.de', 'AGS.br', 'AI.pa', 'AIG', 'AIR.pa', 'ALV.de', 'AMZN', 'AXP', 'BA', 'BABA', 'BAC', 'BAS.de', 'BAYN.de', 'BBVA.mc.', 'BIDU', 'BMW.de', 'BN.pa', 'BNP.pa', 'BRKB', 'BZU.MI', 'C', 'CA.pa', 'CAP.pa', 'CAT', 'CBK.de', 'CGC', 'CRON', 'CS.pa', 'CSCO', 'CVX', 'DAI.de', 'DBK.de', 'DIS', 'DLTR', 'DPW.de', 'DTE.de', 'EBAY', 'EDF.pa', 'EL.pa', 'EN.pa', 'ENI.MI', 'EOAN.de', 'FB', 'FCA.MI', 'FEYE', 'FP.pa', 'FSLR', 'GE', 'GILD', 'GLE.pa', 'GM', 'GOOG', 'GS', 'HAS', 'HEIA.as', 'HEN3.de', 'HOG', 'HPQ', 'HSY', 'IBE.mc', 'IBM', 'IFX.de', 'INGA.as', 'INTC', 'ISP.MI', 'JNJ', 'JPM', 'KBC.br.', 'KO', 'LHA.de', 'LLOY.l', 'LMT', 'LR.pa', 'LVS', 'LYFT', 'M', 'MA.', 'MC.pa', 'MCD.', 'ML.pa', 'MMM', 'MRK.de', 'MS', 'MSFT', 'NFLX', 'NKE', 'NOV', 'NOVN.vx', 'NVDA', 'ORA.pa', 'PANW', 'PFE', 'PG', 'PM', 'PUB.pa', 'PYPL', 'QCOM', 'RACE', 'REGN', 'REP.mc.', 'RI.pa', 'RNO.pa', 'RWE.de', 'SAF.pa', 'SAN.mc.', 'SAN.pa', 'SAP.de', 'SBUX', 'SGO.pa', 'SIE.de', 'SMSN.l', 'SNAP', 'SRE', 'SU.pa', 'T', 'TEF.mc', 'TEVA', 'TGT', 'TKA.de', 'TSLA', 'TWTR', 'UBER', 'UBSG.vx', 'UCG.MI', 'UMI.br.', 'UNA.as', 'URW.as', 'V', 'VIE.pa', 'VIV.pa', 'VK.pa', 'VOW3.de', 'VZ', 'WMT', 'XOM', 'YNDX', 'XAGUSD', 'XAUUSD', 'BRENT', 'COCOA', 'COFFEE', 'CORN', 'COTTON', 'NGAS', 'SUGAR', 'USDX', 'WHEAT', 'WTI', 'FRENCH40', 'GERMAN30', 'JPN225', 'NETHERLAND25', 'SPANISH35', 'SWISS20', 'UK100', 'US30', 'US500', 'USTECH100', 'USVIX')) 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 ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:19:51 Duration: 5m37s Database: acaweb_fx User: postgres Bind query: yes
8 50ms 5m7s 19s341ms 207 1h6m43s with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, 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 rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.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 kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 02 207 1h6m43s 19s341ms [ User: postgres - Total duration: 1h6m43s - Times executed: 207 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '763' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 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') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:05:45 Duration: 5m7s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '665' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:05:18 Duration: 4m40s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, 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 rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '665' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.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 kr.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 relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' 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 ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:21:30 Duration: 3m47s Database: acaweb_fx User: postgres Bind query: yes
9 1s956ms 53s113ms 16s906ms 72 20m17s select * from ( select pricedatetime, open, high, low, close, volume, bsf from t30 where symbolid = ? and (bsf = ? or bsf is null) order by pricedatetime desc limit ?) a order by pricedatetime asc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 02 72 20m17s 16s906ms [ User: postgres - Total duration: 20m17s - Times executed: 72 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s113ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s57ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1015042' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:35 Duration: 48s804ms Database: acaweb_fx User: postgres Bind query: yes
10 220ms 43s78ms 9s355ms 135 21m2s select * from ( select pricedatetime, open, high, low, close, volume, bsf from t60 where symbolid = ? and (bsf = ? or bsf is null) order by pricedatetime desc limit ?) a order by pricedatetime asc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 02 135 21m2s 9s355ms [ User: postgres - Total duration: 21m2s - Times executed: 135 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '988117' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:04:04 Duration: 43s78ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '988117' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:04:04 Duration: 42s984ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:03:47 Duration: 40s457ms Database: acaweb_fx User: postgres Bind query: yes
11 50ms 6m2s 8s757ms 180 26m16s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and (((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 26 02 180 26m16s 8s757ms [ User: postgres - Total duration: 26m16s - Times executed: 180 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:32:53 Duration: 6m2s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:16:36 Duration: 4m19s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:48:48 Duration: 3m1s Database: acaweb_fx User: postgres Bind query: yes
12 63ms 1m56s 2s27ms 870 29m24s select distinct pricedatetime, high, low from t15_ps where pricedatetime <= current_timestamp and pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime asc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 02 870 29m24s 2s27ms [ User: pgperfstats - Total duration: 29m24s - Times executed: 870 ]
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1031646order by pricedatetime asc;
Date: 2021-07-26 02:23:27 Duration: 1m56s Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1032156order by pricedatetime asc;
Date: 2021-07-26 02:36:16 Duration: 52s246ms Database: acaweb_fx User: pgperfstats
-
select distinct pricedatetime, high, low FROM t15_ps WHERE pricedatetime <= current_timestamp AND pricedatetime >= current_timestamp - interval '6 months' and symbolid = 1034381order by pricedatetime asc;
Date: 2021-07-26 02:45:47 Duration: 41s161ms Database: acaweb_fx User: pgperfstats
13 50ms 4m42s 1s662ms 1,598 44m16s select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 26 02 1,598 44m16s 1s662ms [ User: postgres - Total duration: 44m16s - Times executed: 1598 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 630 AND groupid = 5286 AND patternclassid = '1' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:30:56 Duration: 1m50s Database: acaweb_fx User: postgres Bind query: yes
14 50ms 2m30s 1s648ms 621 17m3s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 02 621 17m3s 1s648ms [ User: postgres - Total duration: 17m3s - Times executed: 621 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m30s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 1m33s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4858 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:02:14 Duration: 1m5s Database: acaweb_fx User: postgres Bind query: yes
15 50ms 2m29s 1s500ms 834 20m51s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 26 02 834 20m51s 1s500ms [ User: postgres - Total duration: 20m51s - Times executed: 834 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:16:13 Duration: 57s705ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 32s224ms Database: acaweb_fx User: postgres Bind query: yes
16 50ms 3s949ms 1s360ms 1,930 43m46s insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 02 1,930 43m46s 1s360ms [ User: postgres - Total duration: 43m46s - Times executed: 1930 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969091, '2021-07-26 03:00:00'::timestamp without time zone, 1.17725, 1.17728, 1.17678, 1.17681, 6432, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 969091 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s949ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975856, '2021-07-26 03:00:00'::timestamp without time zone, 1.72889, 1.72904, 1.72841, 1.72887, 1621, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975856 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s910ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954147, '2021-07-26 03:00:00'::timestamp without time zone, 1.26504, 1.26524, 1.26453, 1.26478, 1540, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 954147 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s727ms Database: acaweb_fx User: postgres
17 50ms 35s130ms 1s312ms 764 16m42s select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 02 764 16m42s 1s312ms [ User: postgres - Total duration: 16m42s - Times executed: 764 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5376 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321780 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:17:41 Duration: 35s130ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5376 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321780 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:17:41 Duration: 35s129ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5123 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321804 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:30:41 Duration: 16s711ms Database: acaweb_fx User: postgres Bind query: yes
18 55ms 3s473ms 1s99ms 966 17m41s insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 02 966 17m41s 1s99ms [ User: postgres - Total duration: 17m41s - Times executed: 966 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016038, '2021-07-26 01:00:00'::timestamp without time zone, 0.73652, 0.73678, 0.73629, 0.73678, 672, 0, '2021-07-26 02:01:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016038 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:14 Duration: 3s473ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986732, '2021-07-26 02:00:00'::timestamp without time zone, 81.434, 81.459, 81.404, 81.448, 1369, 0, '2021-07-26 02:01:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986732 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:15 Duration: 3s163ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016303, '2021-07-26 01:00:00'::timestamp without time zone, 72.3, 72.37, 72.24, 72.32, 148, 0, '2021-07-26 02:01:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1016303 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone);
Date: 2021-07-26 02:01:16 Duration: 3s70ms Database: acaweb_fx User: postgres
19 50ms 18s520ms 1s92ms 425 7m44s select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 02 425 7m44s 1s92ms [ User: postgres - Total duration: 7m44s - Times executed: 425 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:18:16 Duration: 18s520ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:30:36 Duration: 17s147ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND sg.groupid = 4262 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61322721 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:29:10 Duration: 14s59ms Database: acaweb_fx User: postgres Bind query: yes
20 50ms 3s947ms 1s86ms 3,557 1h4m23s insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 02 3,557 1h4m23s 1s86ms [ User: postgres - Total duration: 1h4m23s - Times executed: 3557 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020989, '2021-07-26 03:15:00'::timestamp without time zone, 10.42521, 10.44061, 10.42501, 10.43771, 4178, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1020989 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s947ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983770, '2021-07-26 03:15:00'::timestamp without time zone, 1799.56, 1800.36, 1798.88, 1799.7, 978, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983770 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:39 Duration: 3s891ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986580, '2021-07-26 03:15:00'::timestamp without time zone, 17.4585, 17.48168, 17.45378, 17.47323, 662, 0, '2021-07-26 02:32:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 986580 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone);
Date: 2021-07-26 02:32:38 Duration: 3s684ms Database: acaweb_fx User: postgres
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 545ms 3 93ms 235ms 181ms WITH last_candle AS ( ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Jul 26 02 3 545ms 181ms [ User: postgres - Total duration: 10s261ms - Times executed: 3 ]
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:00:05 Duration: 235ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:32:47 Duration: 216ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:16:06 Duration: 93ms Database: postgres User: acaweb_fx Remote: postgres
2 538ms 3 111ms 242ms 179ms with sym_info as ( ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 02 3 538ms 179ms [ User: postgres - Total duration: 1s210ms - Times executed: 3 ]
-
with sym_info as ( ;
Date: 2021-07-26 02:20:55 Duration: 242ms Database: postgres User: acaweb_fx Remote: postgres
-
with sym_info as ( ;
Date: 2021-07-26 02:05:54 Duration: 184ms Database: postgres User: acaweb_fx Remote: postgres
-
with sym_info as ( ;
Date: 2021-07-26 02:50:54 Duration: 111ms Database: postgres User: acaweb_fx Remote: postgres
3 468ms 4 89ms 160ms 117ms SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 02 4 468ms 117ms [ User: postgres - Total duration: 2s517ms - Times executed: 4 ]
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 02:00:00 Duration: 160ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 02:55:28 Duration: 126ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 02:45:40 Duration: 92ms Database: postgres User: acaweb_fx Remote: postgres
4 419ms 4 91ms 117ms 104ms SELECT ;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 02 4 419ms 104ms [ User: postgres - Total duration: 30s125ms - Times executed: 4 ]
-
SELECT ;
Date: 2021-07-26 02:39:49 Duration: 117ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ;
Date: 2021-07-26 02:39:49 Duration: 115ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ;
Date: 2021-07-26 02:30:55 Duration: 94ms Database: postgres User: acaweb_fx Remote: postgres
5 380ms 4 53ms 157ms 95ms with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 02 4 380ms 95ms [ User: postgres - Total duration: 15s75ms - Times executed: 4 ]
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:40:02 Duration: 157ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:20:02 Duration: 101ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:00:02 Duration: 67ms Database: postgres User: acaweb_fx Remote: postgres
6 322ms 5 52ms 78ms 64ms WITH rar_max as ( ;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 02 5 322ms 64ms [ User: postgres - Total duration: 2m35s - Times executed: 5 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 02:40:39 Duration: 78ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH rar_max as ( ;
Date: 2021-07-26 02:40:39 Duration: 74ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH rar_max as ( ;
Date: 2021-07-26 02:08:24 Duration: 61ms Database: postgres User: acaweb_fx Remote: postgres
7 243ms 3 53ms 95ms 81ms with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 02 3 243ms 81ms [ User: postgres - Total duration: 2s155ms - Times executed: 3 ]
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:27:08 Duration: 95ms Database: postgres User: acaweb_fx Remote: postgres
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:58:10 Duration: 94ms Database: postgres User: acaweb_fx Remote: postgres
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:30:56 Duration: 53ms Database: postgres User: acaweb_fx Remote: postgres
8 145ms 2 65ms 79ms 72ms SELECT groupid, ;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 02 2 145ms 72ms [ User: postgres - Total duration: 1s943ms - Times executed: 2 ]
-
SELECT groupid, ;
Date: 2021-07-26 02:15:04 Duration: 79ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT groupid, ;
Date: 2021-07-26 02:15:04 Duration: 65ms Database: postgres User: acaweb_fx Remote: postgres
9 142ms 2 59ms 82ms 71ms SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 02 2 142ms 71ms [ User: postgres - Total duration: 3s762ms - Times executed: 2 ]
-
SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
Date: 2021-07-26 02:30:02 Duration: 82ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
Date: 2021-07-26 02:55:19 Duration: 59ms Database: postgres User: acaweb_fx Remote: postgres
10 127ms 2 57ms 69ms 63ms SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 02 2 127ms 63ms [ User: postgres - Total duration: 666ms - Times executed: 2 ]
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 02:01:49 Duration: 69ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 02:31:40 Duration: 57ms Database: postgres User: acaweb_fx Remote: postgres
11 104ms 1 104ms 104ms 104ms SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_de_DE tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 02 1 104ms 104ms [ User: postgres - Total duration: 66ms - Times executed: 1 ]
-
SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_de_DE tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;
Date: 2021-07-26 02:06:14 Duration: 104ms Database: postgres User: acaweb_fx Remote: postgres
12 97ms 1 97ms 97ms 97ms SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_en_GB tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 02 1 97ms 97ms [ User: postgres - Total duration: 1s875ms - Times executed: 1 ]
-
SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_en_GB tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;
Date: 2021-07-26 02:31:56 Duration: 97ms Database: postgres User: acaweb_fx Remote: postgres
13 91ms 1 91ms 91ms 91ms select gen_whatshot ();Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 02 1 91ms 91ms [ User: postgres - Total duration: 5m20s - Times executed: 1 ]
-
select gen_whatshot ();
Date: 2021-07-26 02:08:14 Duration: 91ms Database: postgres User: acaweb_fx Remote: postgres
14 87ms 1 87ms 87ms 87ms SELECT allowapi, apiaccesserrormessage, symbolcolumndisplaytype, showapitokenlogin, marketreportsurl, showvolumeincrease, validmt4accountservers, validmt4terminalservers, CASE WHEN (position('com.autochartist' in mainServletMapping) <> 0) THEN mainServletMapping ELSE '' END AS mainServletMapping, loginPage, logoutPage, defaultTimeZone, defaultLocale, logoLocation, overrideauthentication, hasourfavourites, satellitedns, hasmobile FROM brokerconfig WHERE brokerid = $1;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 02 1 87ms 87ms [ User: postgres - Total duration: 109ms - Times executed: 1 ]
-
SELECT allowapi, apiaccesserrormessage, symbolcolumndisplaytype, showapitokenlogin, marketreportsurl, showvolumeincrease, validmt4accountservers, validmt4terminalservers, CASE WHEN (position('com.autochartist' in mainServletMapping) <> 0) THEN mainServletMapping ELSE '' END AS mainServletMapping, loginPage, logoutPage, defaultTimeZone, defaultLocale, logoLocation, overrideauthentication, hasourfavourites, satellitedns, hasmobile FROM brokerconfig WHERE brokerid = $1;
Date: 2021-07-26 02:47:03 Duration: 87ms Database: postgres User: acaweb_fx Remote: postgres
15 86ms 1 86ms 86ms 86ms SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_es_ES tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 02 1 86ms 86ms [ User: postgres - Total duration: 51ms - Times executed: 1 ]
-
SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_es_ES tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;
Date: 2021-07-26 02:22:05 Duration: 86ms Database: postgres User: acaweb_fx Remote: postgres
16 73ms 1 73ms 73ms 73ms with maxwhid as ( ;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 02 1 73ms 73ms [ User: postgres - Total duration: 3s303ms - Times executed: 1 ]
-
with maxwhid as ( ;
Date: 2021-07-26 02:17:00 Duration: 73ms Database: postgres User: acaweb_fx Remote: postgres
17 72ms 1 72ms 72ms 72ms SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 02 1 72ms 72ms [ User: postgres - Total duration: 459ms - Times executed: 1 ]
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 02:01:49 Duration: 72ms Database: postgres User: acaweb_fx Remote: postgres
18 63ms 1 63ms 63ms 63ms SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 02 1 63ms 63ms [ User: postgres - Total duration: 112ms - Times executed: 1 ]
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 02:29:27 Duration: 63ms Database: postgres User: acaweb_fx Remote: postgres
19 61ms 1 61ms 61ms 61ms SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_zh_CN tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 02 1 61ms 61ms [ User: postgres - Total duration: 58ms - Times executed: 1 ]
-
SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_zh_CN tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;
Date: 2021-07-26 02:23:23 Duration: 61ms Database: postgres User: acaweb_fx Remote: postgres
20 54ms 1 54ms 54ms 54ms SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 02 1 54ms 54ms [ User: postgres - Total duration: 128ms - Times executed: 1 ]
-
SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;
Date: 2021-07-26 02:49:36 Duration: 54ms Database: postgres User: acaweb_fx Remote: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 5s195ms 13 53ms 1s300ms 399ms with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jul 26 02 13 5s195ms 399ms [ User: postgres - Total duration: 12s36ms - Times executed: 13 ]
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:30:57 Duration: 1s300ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125', $3 = '125', $4 = '125', $5 = '125', $6 = '125', $7 = '125', $8 = '125', $9 = '125'
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:30:57 Duration: 1s218ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125', $3 = '125', $4 = '125', $5 = '125', $6 = '125', $7 = '125', $8 = '125', $9 = '125'
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 02:27:09 Duration: 1s53ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '643', $2 = '643', $3 = '643', $4 = '643', $5 = '643', $6 = '643', $7 = '643', $8 = '643', $9 = '643'
2 4s777ms 12 74ms 1s94ms 398ms SELECT ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 02 12 4s777ms 398ms [ User: postgres - Total duration: 1m6s - Times executed: 12 ]
-
SELECT ;
Date: 2021-07-26 02:15:05 Duration: 1s94ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954256'
-
SELECT ;
Date: 2021-07-26 02:15:05 Duration: 681ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954256'
-
SELECT ;
Date: 2021-07-26 02:30:05 Duration: 594ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954196'
3 3s344ms 4 72ms 1s355ms 836ms with sym_info as ( ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 02 4 3s344ms 836ms [ User: postgres - Total duration: 1s335ms - Times executed: 4 ]
-
with sym_info as ( ;
Date: 2021-07-26 02:20:57 Duration: 1s355ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '617', $2 = 'Forex', $3 = 'Forex', $4 = '617', $5 = 'Forex', $6 = '617'
-
with sym_info as ( ;
Date: 2021-07-26 02:05:55 Duration: 1s307ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '620', $2 = 'Forex', $3 = 'Forex', $4 = '620', $5 = 'Forex', $6 = '620'
-
with sym_info as ( ;
Date: 2021-07-26 02:50:55 Duration: 609ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '617', $2 = 'Forex', $3 = 'Forex', $4 = '617', $5 = 'Forex', $6 = '617'
4 2s947ms 4 512ms 1s119ms 736ms SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 02 4 2s947ms 736ms [ User: postgres - Total duration: 3s595ms - Times executed: 4 ]
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 02:30:44 Duration: 1s119ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 02:00:44 Duration: 749ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 02:15:13 Duration: 564ms Database: postgres User: acaweb_fx Remote: postgres
5 2s945ms 1 2s945ms 2s945ms 2s945ms SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 02 1 2s945ms 2s945ms [ User: postgres - Total duration: 2s660ms - Times executed: 1 ]
-
SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;
Date: 2021-07-26 02:33:48 Duration: 2s945ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '538'
6 2s382ms 3 544ms 928ms 794ms SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 02 3 2s382ms 794ms [ User: postgres - Total duration: 819ms - Times executed: 3 ]
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 02:31:41 Duration: 928ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '1026339', $2 = '689'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 02:01:50 Duration: 910ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '981910', $2 = '529'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 02:21:35 Duration: 544ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '982395', $2 = '529'
7 1s872ms 9 61ms 485ms 208ms WITH last_candle AS ( ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 02 9 1s872ms 208ms [ User: postgres - Total duration: 30s43ms - Times executed: 9 ]
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:00:05 Duration: 485ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:48:50 Duration: 333ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:24:05 Duration: 327ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
8 1s764ms 6 113ms 634ms 294ms with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 02 6 1s764ms 294ms [ User: postgres - Total duration: 25s686ms - Times executed: 6 ]
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:30:02 Duration: 634ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:00:02 Duration: 464ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:20:02 Duration: 278ms Database: postgres User: acaweb_fx Remote: postgres
9 1s446ms 3 358ms 685ms 482ms SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 02 3 1s446ms 482ms [ User: postgres - Total duration: 1s283ms - Times executed: 3 ]
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 02:01:49 Duration: 685ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '981910', $2 = '529'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 02:21:35 Duration: 402ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '982395', $2 = '529'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 02:31:41 Duration: 358ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '1026339', $2 = '689'
10 1s368ms 14 57ms 162ms 97ms WITH rar_max as ( ;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 02 14 1s368ms 97ms [ User: postgres - Total duration: 6m27s - Times executed: 14 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 02:05:19 Duration: 162ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '666', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '0', $13 = '', $14 = '0', $15 = '', $16 = '0', $17 = '0', $18 = '0', $19 = '0', $20 = '0', $21 = 't', $22 = '10', $23 = '10'
-
WITH rar_max as ( ;
Date: 2021-07-26 02:45:30 Duration: 161ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '529', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '31', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDUSD', $18 = 'CADJPY', $19 = 'CHFJPY', $20 = 'EURAUD', $21 = 'EURCAD', $22 = 'EURCHF', $23 = 'EURGBP', $24 = 'EURJPY', $25 = 'EURNZD', $26 = 'EURUSD', $27 = 'GBPAUD', $28 = 'GBPCAD', $29 = 'GBPCHF', $30 = 'GBPJPY', $31 = 'GBPNZD', $32 = 'GBPUSD', $33 = 'JPN225', $34 = 'NAS100', $35 = 'NZDCAD', $36 = 'NZDCHF', $37 = 'NZDJPY', $38 = 'NZDUSD', $39 = 'USDCAD', $40 = 'USDCHF', $41 = 'USDJPY', $42 = 'XAGUSD', $43 = 'XAUUSD', $44 = '0', $45 = '', $46 = '0', $47 = '0', $48 = '0', $49 = '0', $50 = '0', $51 = 't', $52 = '10', $53 = '10'
-
WITH rar_max as ( ;
Date: 2021-07-26 02:00:30 Duration: 143ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '529', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '31', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDUSD', $18 = 'CADJPY', $19 = 'CHFJPY', $20 = 'EURAUD', $21 = 'EURCAD', $22 = 'EURCHF', $23 = 'EURGBP', $24 = 'EURJPY', $25 = 'EURNZD', $26 = 'EURUSD', $27 = 'GBPAUD', $28 = 'GBPCAD', $29 = 'GBPCHF', $30 = 'GBPJPY', $31 = 'GBPNZD', $32 = 'GBPUSD', $33 = 'JPN225', $34 = 'NAS100', $35 = 'NZDCAD', $36 = 'NZDCHF', $37 = 'NZDJPY', $38 = 'NZDUSD', $39 = 'USDCAD', $40 = 'USDCHF', $41 = 'USDJPY', $42 = 'XAGUSD', $43 = 'XAUUSD', $44 = '0', $45 = '', $46 = '0', $47 = '0', $48 = '0', $49 = '0', $50 = '0', $51 = 't', $52 = '10', $53 = '10'
11 571ms 4 75ms 281ms 142ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3601 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 0.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 509215730 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 02 4 571ms 142ms [ User: postgres - Total duration: 8s336ms - Times executed: 4 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3601 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 0.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 509215730 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:14 Duration: 281ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3601 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 0.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 509215730 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:23:39 Duration: 135ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3601 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 0.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 509215730 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:57:27 Duration: 78ms Database: postgres User: acaweb_fx Remote: postgres
12 473ms 4 83ms 187ms 118ms SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 02 4 473ms 118ms [ User: postgres - Total duration: 699ms - Times executed: 4 ]
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 02:03:47 Duration: 187ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'aron.marton@pepperstone.com'
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 02:14:40 Duration: 110ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'ricardo13rocha@hotmail.com'
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 02:21:00 Duration: 92ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'ridwan.saleh@outlook.com'
13 448ms 3 89ms 246ms 149ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 02 3 448ms 149ms [ User: postgres - Total duration: 1m46s - Times executed: 3 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:15:15 Duration: 246ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:37 Duration: 112ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:24:13 Duration: 89ms Database: postgres User: acaweb_fx Remote: postgres
14 375ms 1 375ms 375ms 375ms with maxwhid as ( ;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 02 1 375ms 375ms [ User: postgres - Total duration: 3s303ms - Times executed: 1 ]
-
with maxwhid as ( ;
Date: 2021-07-26 02:17:01 Duration: 375ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '335', $2 = '621', $3 = '637', $4 = '642', $5 = '660', $6 = '666', $7 = '643', $8 = '630', $9 = '680', $10 = '641', $11 = '431', $12 = '489', $13 = '529', $14 = '576', $15 = '665', $16 = '558', $17 = '620', $18 = '125', $19 = '488', $20 = '567', $21 = '689', $22 = '700', $23 = '758', $24 = '763'
15 368ms 3 103ms 156ms 122ms SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 02 3 368ms 122ms [ User: postgres - Total duration: 372ms - Times executed: 3 ]
-
SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;
Date: 2021-07-26 02:55:24 Duration: 156ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;
Date: 2021-07-26 02:42:51 Duration: 108ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '962171', $2 = '15'
-
SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;
Date: 2021-07-26 02:26:27 Duration: 103ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '1002791', $2 = '15'
16 358ms 3 78ms 146ms 119ms Select id, description, searchstring, clientid, brokerid from cpsearches where clientid = $1 and brokerid = $2 order by description;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 02 3 358ms 119ms [ User: postgres - Total duration: 489ms - Times executed: 3 ]
-
Select id, description, searchstring, clientid, brokerid from cpsearches where clientid = $1 and brokerid = $2 order by description;
Date: 2021-07-26 02:31:26 Duration: 146ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'accionmasganar@gmail.com', $2 = '529'
-
Select id, description, searchstring, clientid, brokerid from cpsearches where clientid = $1 and brokerid = $2 order by description;
Date: 2021-07-26 02:04:29 Duration: 133ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'minhphuongtn90@gmail.com', $2 = '558'
-
Select id, description, searchstring, clientid, brokerid from cpsearches where clientid = $1 and brokerid = $2 order by description;
Date: 2021-07-26 02:10:59 Duration: 78ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '1004461', $2 = '630'
17 330ms 2 89ms 241ms 165ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 02 2 330ms 165ms [ User: postgres - Total duration: 1m25s - Times executed: 2 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:15:15 Duration: 241ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:24:13 Duration: 89ms Database: postgres User: acaweb_fx Remote: postgres
18 308ms 2 144ms 163ms 154ms INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) select $1, current_timestamp, '', 'OK', $2, $3 WHERE EXISTS ( SELECT 1 FROM ( SELECT * FROM mt4datafeederrors WHERE datafeedname ilike $1 ORDER BY eventtimestamp DESC LIMIT 1) a WHERE status <> 'OK');Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 02 2 308ms 154ms [ User: postgres - Total duration: 2s725ms - Times executed: 2 ]
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) select $1, current_timestamp, '', 'OK', $2, $3 WHERE EXISTS ( SELECT 1 FROM ( SELECT * FROM mt4datafeederrors WHERE datafeedname ilike $1 ORDER BY eventtimestamp DESC LIMIT 1) a WHERE status <> 'OK');
Date: 2021-07-26 02:45:25 Duration: 163ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'BDSWISS', $2 = 'dumbo.autochartist.com', $3 = 'postgres'
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) select $1, current_timestamp, '', 'OK', $2, $3 WHERE EXISTS ( SELECT 1 FROM ( SELECT * FROM mt4datafeederrors WHERE datafeedname ilike $1 ORDER BY eventtimestamp DESC LIMIT 1) a WHERE status <> 'OK');
Date: 2021-07-26 02:15:25 Duration: 144ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'BDSWISS', $2 = 'dumbo.autochartist.com', $3 = 'postgres'
19 298ms 1 298ms 298ms 298ms SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 02 1 298ms 298ms [ User: postgres - Total duration: 128ms - Times executed: 1 ]
-
SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;
Date: 2021-07-26 02:49:36 Duration: 298ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'CHFJPY.GK', $2 = '640', $3 = 'CHFJPY.GK', $4 = '30', $5 = 'CHFJPY.GK', $6 = 'CHFJPY.GK', $7 = '640', $8 = 'IG UNSCALED'
20 270ms 2 119ms 151ms 135ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440);Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 02 2 270ms 135ms [ User: postgres - Total duration: 1s92ms - Times executed: 2 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440);
Date: 2021-07-26 02:10:14 Duration: 151ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440);
Date: 2021-07-26 02:26:15 Duration: 119ms Database: postgres User: acaweb_fx Remote: postgres
-
Events
Log levels
Key values
- 75,028 Log entries
Events distribution
Key values
- 0 PANIC entries
- 20 FATAL entries
- 4669 ERROR entries
- 337 WARNING entries
Most Frequent Errors/Events
Key values
- 4,549 Max number of times the same event was reported
- 5,026 Total events found
Rank Times reported Error 1 4,549 LOG: process ... still waiting for AccessExclusiveLock on object 0 of class 1262 of database ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 26 02 4,549 - LOG: process 9383 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.039 ms
- LOG: process 19020 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.035 ms
- LOG: process 29113 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.033 ms
Detail: Process holding the lock: 15863. Wait queue: 9383, 19020, 29113, 19022, 25139, 17871, 29301, 2536, 20093, 19073, 19021, 12188.
Statement: INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989471, '2021-07-26 01:30:00'::timestamp without time zone, 20.0635, 20.0679, 20.0579, 20.0599, 636, 0,'2021-07-26 02:00:14'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T30 WHERE symbolid = 989471 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone);;Date: 2021-07-26 02:00:15 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 15863. Wait queue: 9383, 19020, 29113, 19022, 25139, 17871, 29301, 2536, 20093, 19073, 19021, 12188, 32270.
Date: 2021-07-26 02:00:15 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 9383. Wait queue: 19020, 29113, 19022, 25139, 17871, 29301, 2536, 20093, 19073, 19021, 12188, 32270, 19019.
Statement: INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983517, '2021-07-26 02:00:00'::timestamp without time zone, 110.537, 110.561, 110.501, 110.539, 1021, 0,'2021-07-26 02:00:14'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T60 WHERE symbolid = 983517 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);;Date: 2021-07-26 02:00:16 Database: acaweb_fx Application: User: postgres Remote:
2 337 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 26 02 337 - WARNING: there is no transaction in progress
Date: 2021-07-26 02:00:46 Database: acaweb_fx Application: User: postgres Remote:
3 44 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 26 02 44 - ERROR: canceling statement due to user request
Statement: ( ( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_autochartist_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_fibonacci_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_keylevels_results order by resultuid desc limit 1) ) )
Date: 2021-07-26 02:03:47 Database: acaweb_fx Application: User: postgres Remote:
4 39 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 26 02 39 - ERROR: duplicate key value violates unique constraint "idx_firstemerging_chartpattern"
- ERROR: duplicate key value violates unique constraint "idx_keylevels_uniquepointsvalue"
- ERROR: duplicate key value violates unique constraint "ix_fibonacci_unique"
Detail: Key (breakout, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, symbolid)=(-1, 2021-07-22 21:30:00, 2021-07-23 14:00:00, 2021-07-23 06:00:00, 2021-07-23 20:30:00, 0.9292, 0.92867, 0.92549, 0.92468, 960554) already exists.
Statement: 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) SELECT DISTINCT '960554-1|44399.8958|44400.5833|44400.25|44400.8542|0.9292|0.9287|0.9255|0.9247', 960554, 5.000000, 'Channel Down', 4, '2021-07-26 00:01:52'::timestamp without time zone, 1, 1.000000, -1.000000, 0.000000, 0.346742, 0.407197, 0.927304, 0.929088, '2021-07-25 23:30:00'::timestamp without time zone, '2021-07-27 12:30:00'::timestamp without time zone, '2021-07-22 21:30:00'::timestamp without time zone, '2021-07-25 23:30:00'::timestamp without time zone, 0.921430, 0.926030, '2021-07-22 21:30:00'::timestamp without time zone, '2021-07-23 14:00:00'::timestamp without time zone, '2021-07-23 06:00:00'::timestamp without time zone, '2021-07-23 20:30:00'::timestamp without time zone, 0.929200, 0.928670, 0.925490, 0.924680, -0.000028, -0.000016, 3.193037, 0.686819, 'Continuation', 0.000000, '2021-07-25 23:30:00'::timestamp without time zone, 0.926030, 50, 0, 0.003850, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = -1.000000 and resx0 = '2021-07-22 21:30:00'::timestamp without time zone and resx1 = '2021-07-23 14:00:00'::timestamp without time zone and supportx0 = '2021-07-23 06:00:00'::timestamp without time zone and supportx1 = '2021-07-23 20:30:00'::timestamp without time zone and resy0 = 0.929200 and resy1 = 0.928670 and supporty0 = 0.925490 and supporty1 = 0.924680 and symbolid = 960554) or resultid = '960554-1|44399.8958|44400.5833|44400.25|44400.8542|0.9292|0.9287|0.9255|0.9247') LIMIT 1;;Date: 2021-07-26 02:02:18 Database: acaweb_fx Application: User: postgres Remote:
Detail: Key (uniquepointsvalue)=(|960518|81.478|1|2021-07-25 23:45:00|2021-07-25 23:45:00|1|-1) already exists.
Statement: INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 2.000000, -1, 1, '2021-07-26 00:01:53'::timestamp without time zone, '2021-07-25 23:45:00', 0.035000, 5, 29, 81.478000, '2021-07-25 22:00:00', '2021-07-23 20:15:00', '2021-07-23 19:30:00', '2021-07-23 18:15:00', '2021-07-23 15:30:00', '', '', '', '', '', 66, 81.483600, '2021-07-25 23:45:00'::timestamp without time zone, '2021-07-25 23:45:00', 81.451000, 0.013100, 1, 960518, 0.000000, 0.000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|960518|81.478|1|2021-07-25 23:45:00|2021-07-25 23:45:00|1|-1', 81.429700, 0.048300, 2, '2021-07-23 15:30:00', 81.401000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|960518|81.478|1|2021-07-25 23:45:00|2021-07-25 23:45:00|1|-1') LIMIT 1; ;Date: 2021-07-26 02:02:19 Database: acaweb_fx Application: User: postgres Remote:
Detail: Key (pattern, direction, patternstarttime, patternstartprice, qtytp, patternlengthbars, ratiosfound, temporarypattern, symbolid, timex, timea, timeb, timec, timed)=(Butterfly, -1, 2021-07-23 05:00:00, 1.26674, 5, 27, BC=0.618*AB (0.616) , 0, 960613, 2021-07-23 05:00:00, 2021-07-23 08:00:00, 2021-07-23 12:00:00, 2021-07-23 20:00:00, 1899-12-29 00:00:00) already exists.
Statement: INSERT INTO Fibonacci_Results( Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex,timex, pricea,timea, priceb, timeb, pricec,timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000, 'Butterfly', '2021-07-26 00:03:50'::timestamp without time zone, -1, '2021-07-23 05:00:00'::timestamp without time zone, '2021-07-25 23:00:00'::timestamp without time zone, 1.266740, -1.000000, 5, 1.266740, '2021-07-23 05:00:00'::timestamp without time zone, 1.261820, '2021-07-23 08:00:00'::timestamp without time zone, 1.267340, '2021-07-23 12:00:00'::timestamp without time zone, 1.263940, '2021-07-23 20:00:00'::timestamp without time zone, 1.269781, '1899-12-29 00:00:00'::timestamp without time zone, 0.860339, -1.000000, 16.307104, 27, 1.263940, 1.266171, 1.260330, 1.265189, 1.262351, 1.266860, 1.267550, 960613, 0.279321, 'BC=0.618*AB (0.616) ', 0, 'Butterfly|-1|2021-07-23 05:00:00|1.26674|-1|5|27|BC=0.618*AB (0.616)|0|960613|2021-07-23 05:00:00|2021-07-23 08:00:00|2021-07-23 12:00:00|2021-07-23 20:00:00|1899-12-29 00:00:00', -1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'Butterfly' AND direction = -1 AND patternstarttime = '2021-07-23 05:00:00'::timestamp without time zone AND patternstartprice = 1.266740 AND qtytp = 5 AND patternlengthbars = 27 AND ratiosfound = 'BC=0.618*AB (0.616) ' AND temporarypattern = 0 AND symbolid = 960613 AND timex = '2021-07-23 05:00:00'::timestamp without time zone AND timea = '2021-07-23 08:00:00'::timestamp without time zone AND timeb = '2021-07-23 12:00:00'::timestamp without time zone AND timec = '2021-07-23 20:00:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1;;Date: 2021-07-26 02:04:16 Database: acaweb_fx Application: User: postgres Remote:
5 20 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 26 02 20 - FATAL: connection to client lost
Date: 2021-07-26 02:03:47 Database: acaweb_fx Application: User: postgres Remote:
6 18 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 26 02 18 - LOG: process 20574 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.036 ms at character 48
- LOG: process 18310 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.032 ms at character 28
- LOG: process 10755 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.033 ms at character 28
Detail: Process holding the lock: 20319. Wait queue: 20574.
Statement: SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'ATFX - 1'Date: 2021-07-26 02:02:29 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 20319. Wait queue: 20574, 18310, 10755, 27174.
Statement: SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1'Date: 2021-07-26 02:02:32 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 20319. Wait queue: 20574, 18310, 10755, 27174.
Statement: SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1'Date: 2021-07-26 02:02:32 Database: acaweb_fx Application: User: postgres Remote:
7 6 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 26 02 6 - ERROR: column "waiting" does not exist at character 103
Statement: select pid, datname, client_addr, query_start, query from pg_stat_activity where (state = 'active' or waiting = true) and query_start < current_timestamp - INTERVAL '10 minute' and query not like 'autovacuum%' order by query_start asc
Date: 2021-07-26 02:01:00 Database: acaweb_fx Application: User: postgres Remote:
8 5 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 26 02 5 - LOG: process 18210 still waiting for ShareLock on transaction 98956707 after 1000.038 ms
- LOG: process 21482 still waiting for ShareLock on transaction 98956723 after 1000.038 ms
- LOG: process 18211 still waiting for ShareLock on transaction 98977802 after 1000.048 ms
Detail: Process holding the lock: 18211. Wait queue: 18210.
Context: while inserting index tuple (134525,10) in relation "keylevels_results"
Statement: INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 8.000000000000000000000000000000, -1, 1, '2021-07-26 00:15:46'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 331, 34991.000000000000000000000000000000, '2021-07-23 22:30:00', '2021-07-16 16:00:00', '2021-07-14 16:30:00', '', '', '', '', '', '', '', 662, 35058.925000000002910000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-26 03:00:00', 0.000000000000000000000000000000, 67.924999999999997160000000000000, -1, 1019650, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1019650|34991|1|2021-07-26 03:00:00|-1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-14 16:30:00', 34991.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1019650|34991|1|2021-07-26 03:00:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING; ;Date: 2021-07-26 02:16:14 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 21483. Wait queue: 21482.
Context: while updating tuple (364,59) in relation "autochartist_symbolupdates" SQL statement "UPDATE autochartist_symbolupdates SET recengproccessedtime = NEW.patternendtime WHERE symbolid = NEW.symbolid AND recengproccessedtime < NEW.patternendtime" PL/pgSQL function cp_relevanceinsert_trigger() line 25 at SQL statement
Statement: 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) SELECT DISTINCT '983560-1|44400.875|44403.0417|44400.9792|44403.1146|1.0559|1.0558|1.0543|1.0545', 983560, 2.000000000000000000000000000000, 'Ascending Triangle', 4, '2021-07-26 00:15:46'::timestamp without time zone, 1, 0.158896581827148858400000000000, -1.000000000000000000000000000000, 0.202416278083933892600000000000, 0.245470010240675634600000000000, 0.084085268306048718820000000000, 1.055651015598105369000000000000, 1.056016437435452593000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-27 06:00:00'::timestamp without time zone, '2021-07-23 21:00:00'::timestamp without time zone, '2021-07-26 03:00:00'::timestamp without time zone, 1.055320000000000036000000000000, 1.055449999999999999000000000000, '2021-07-23 21:00:00'::timestamp without time zone, '2021-07-26 01:00:00'::timestamp without time zone, '2021-07-23 23:30:00'::timestamp without time zone, '2021-07-26 02:45:00'::timestamp without time zone, 1.055889999999999995000000000000, 1.055849999999999955000000000000, 1.054319999999999924000000000000, 1.054480000000000084000000000000, 0.000012307692307704617130000000, -0.000002500000000002500222000000, 1.498136198637490590000000000000, 0.332503946630840652200000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, 1.055390000000000050000000000000, 24, 0, 0.001469999999999971330000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = -1.000000000000000000000000000000 and resx0 = '2021-07-23 21:00:00'::timestamp without time zone and resx1 = '2021-07-26 01:00:00'::timestamp without time zone and supportx0 = '2021-07-23 23:30:00'::timestamp without time zone and supportx1 = '2021-07-26 02:45:00'::timestamp without time zone and resy0 = 1.055889999999999995000000000000 and resy1 = 1.055849999999999955000000000000 and supporty0 = 1.054319999999999924000000000000 and supporty1 = 1.054480000000000084000000000000 and symbolid = 983560) or resultid = '983560-1|44400.875|44403.0417|44400.9792|44403.1146|1.0559|1.0558|1.0543|1.0545') LIMIT 1 ON CONFLICT DO NOTHING;;Date: 2021-07-26 02:16:14 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 18210. Wait queue: 18211.
Context: while inserting index tuple (149646,7) in relation "autochartist_results"
Statement: 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) SELECT DISTINCT '10196461|44398.7917|44400.8333|44397.6667|44400.375|6944.7|6971.2|6753.95|6909.95', 1019646, 4.000000000000000000000000000000, 'Rising Wedge', 4, '2021-07-26 00:47:47'::timestamp without time zone, -1, 1.000000000000000000000000000000, 1.000000000000000000000000000000, 0.087789148839172256860000000000, 0.229386823099095665800000000000, 0.407678082112388207000000000000, 6754.872282702964185000000000000000, 6860.967617792901364000000000000000, '2021-07-26 03:00:00'::timestamp without time zone, '2021-07-28 20:30:00'::timestamp without time zone, '2021-07-20 16:00:00'::timestamp without time zone, '2021-07-26 03:00:00'::timestamp without time zone, 7043.500000000000000000000000000000, 6951.949999999999818000000000000000, '2021-07-21 19:00:00'::timestamp without time zone, '2021-07-23 20:00:00'::timestamp without time zone, '2021-07-20 16:00:00'::timestamp without time zone, '2021-07-23 09:00:00'::timestamp without time zone, 6944.699999999999818000000000000000, 6971.199999999999818000000000000000, 6753.949999999999818000000000000000, 6909.949999999999818000000000000000, 3.000000000000000000000000000000, 0.662499999999999977800000000000, 4.867904891941153167000000000000, 0.794572814753323086800000000000, 'Continuation', -15.199999999999818100000000000000, '2021-07-26 03:00:00'::timestamp without time zone, 6936.750000000000000000000000000000, 66, 0, 126.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = 1.000000000000000000000000000000 and resx0 = '2021-07-21 19:00:00'::timestamp without time zone and resx1 = '2021-07-23 20:00:00'::timestamp without time zone and supportx0 = '2021-07-20 16:00:00'::timestamp without time zone and supportx1 = '2021-07-23 09:00:00'::timestamp without time zone and resy0 = 6944.699999999999818000000000000000 and resy1 = 6971.199999999999818000000000000000 and supporty0 = 6753.949999999999818000000000000000 and supporty1 = 6909.949999999999818000000000000000 and symbolid = 1019646) or resultid = '10196461|44398.7917|44400.8333|44397.6667|44400.375|6944.7|6971.2|6753.95|6909.95') LIMIT 1 ON CONFLICT DO NOTHING;;Date: 2021-07-26 02:48:14 Database: acaweb_fx Application: User: postgres Remote:
9 4 ERROR: canceling statement due to statement timeout
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 26 02 4 - ERROR: canceling statement due to statement timeout
Statement: SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'ATFX - 1'
Date: 2021-07-26 02:02:58 Database: acaweb_fx Application: User: postgres Remote:
10 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 26 02 2 - ERROR: relation "timezones_vi_vn" does not exist at character 191
Statement: SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset,0,4) as double precision)*60 + cast(substring(t.gmoffset,5,2) as double precision))/60 as gmoffset FROM timezones_vi_VN tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone
Date: 2021-07-26 02:33:56 Database: acaweb_fx Application: User: postgres Remote:
11 1 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 26 02 1 - ERROR: canceling autovacuum task
Context: while vacuuming index "pk_relevance_autochartist_results" of relation "public.relevance_autochartist_results" automatic vacuum of table "acaweb_fx.public.relevance_autochartist_results"
Date: 2021-07-26 02:53:51
12 1 LOG: process ... still waiting for ExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 26 02 1 - LOG: process 19934 still waiting for ExclusiveLock on relation 52717 of database 51448 after 1000.053 ms
Detail: Processes holding the lock: 17844, 16126, 14200. Wait queue: 19934.
Context: SQL statement "REFRESH MATERIALIZED VIEW CONCURRENTLY relevance_autochartist_results" PL/pgSQL function updateresultsmaterializedview() line 5 at SQL statement
Statement: select updateresultsmaterializedview()Date: 2021-07-26 02:53:51 Database: acaweb_fx Application: User: postgres Remote: