-
Global information
- Generated on Sat Mar 21 08:59:17 2026
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2026-03-21_100000.log
- Parsed 455,439 log entries in 16s
- Log start from 2026-03-21 10:00:00 to 2026-03-21 10:59:14
-
Overview
Global Stats
- 176 Number of unique normalized queries
- 72,738 Number of queries
- 58m15s Total query duration
- 2026-03-21 10:00:00 First query
- 2026-03-21 10:59:14 Last query
- 1,638 queries/s at 2026-03-21 10:15:04 Query peak
- 58m15s Total query duration
- 2s832ms Prepare/parse total duration
- 13s239ms Bind total duration
- 57m59s Execute total duration
- 237 Number of events
- 1 Number of unique normalized events
- 237 Max number of times the same event was reported
- 0 Number of cancellation
- 9 Total number of automatic vacuums
- 18 Total number of automatic analyzes
- 1,034 Number temporary file
- 602.29 MiB Max size of temporary file
- 125.46 MiB Average size of temporary file
- 1,599 Total number of sessions
- 12 sessions at 2026-03-21 10:53:41 Session peak
- 11h26m19s Total duration of sessions
- 25s753ms Average duration of sessions
- 45 Average queries per session
- 2s186ms Average queries duration per session
- 23s567ms Average idle time per session
- 1,605 Total number of connections
- 27 connections/s at 2026-03-21 10:18:50 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 1,638 queries/s Query Peak
- 2026-03-21 10:15:04 Date
SELECT Traffic
Key values
- 799 queries/s Query Peak
- 2026-03-21 10:15:04 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 98 queries/s Query Peak
- 2026-03-21 10:30:49 Date
Queries duration
Key values
- 58m15s 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) Mar 21 10 72,738 0ms 21s851ms 47ms 1m46s 2m7s 2m48s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 21 10 19,903 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 21 10 11,195 636 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 21 10 9,637 20,252 2.10 28.40% Day Hour Count Average / Second Mar 21 10 1,605 0.45/s Day Hour Count Average Duration Average idle time Mar 21 10 1,599 25s753ms 23s577ms -
Connections
Established Connections
Key values
- 27 connections Connection Peak
- 2026-03-21 10:18:50 Date
Connections per database
Key values
- acaweb_fx Main Database
- 1,605 connections Total
Connections per user
Key values
- postgres Main User
- 1,605 connections Total
Connections per host
Key values
- 192.168.4.142 Main host with 861 connections
- 1,605 Total connections
-
Sessions
Simultaneous sessions
Key values
- 12 sessions Session Peak
- 2026-03-21 10:53:41 Date
Histogram of session times
Key values
- 1,298 0-500ms duration
Sessions per database
Key values
- acaweb_fx Main Database
- 1,599 sessions Total
Sessions per user
Key values
- postgres Main User
- 1,599 sessions Total
Sessions per host
Key values
- 192.168.4.142 Main Host
- 1,599 sessions Total
Host Count Total Duration Average Duration 192.168.0.114 3 15m 5m 192.168.0.216 116 6m25s 3s325ms 192.168.0.74 10 1h3m22s 6m20s 192.168.1.145 2 156ms 78ms 192.168.1.15 1 3ms 3ms 192.168.1.20 21 9h51m45s 28m10s 192.168.1.239 54 235ms 4ms 192.168.1.90 41 815ms 19ms 192.168.2.126 20 5s319ms 265ms 192.168.3.199 38 21s876ms 575ms 192.168.4.142 861 6m53s 480ms 192.168.4.33 61 22s872ms 374ms 192.168.4.98 330 13s679ms 41ms [local] 41 1m46s 2s600ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,163 buffers Checkpoint Peak
- 2026-03-21 10:39:16 Date
- 208.994 seconds Highest write time
- 2.667 seconds Sync time
Checkpoints Wal files
Key values
- 1 files Wal files usage Peak
- 2026-03-21 10:39:16 Date
Checkpoints distance
Key values
- 40.53 Mo Distance Peak
- 2026-03-21 10:39:16 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 21 10 12,068 1,098.614s 6.071s 1,115.656s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 21 10 0 0 5 1,101 2.405s 0.137s Day Hour Count Avg time (sec) Mar 21 10 0 0s Day Hour Mean distance Mean estimate Mar 21 10 6,417.83 kB 13,107.83 kB -
Temporary Files
Size of temporary files
Key values
- 599.29 MiB Temp Files size Peak
- 2026-03-21 10:52:44 Date
Number of temporary files
Key values
- 8 per second Temp Files Peak
- 2026-03-21 10:05:59 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 21 10 1,034 126.68 GiB 125.46 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 238 126.45 GiB 310.52 MiB 602.29 MiB 544.07 MiB classname, case when latestdbwritetime < current_timestamp - interval ? then ? else ? end as is_stale from latest_t15_candle_view order by classname;-
classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;
Date: 2026-03-21 10:00:00 Duration: 0ms
2 60 105.20 MiB 137.65 KiB 3.87 MiB 1.75 MiB with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), ar as ( select a.*, rr.age, rr.relevant from autochartist_results a left outer join relevance_autochartist_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_autochartist_results) end ), all_results as ( select ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when ar.age is not null then ar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when ar.relevant is not null then ar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from ar inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid inner join symbolgroup sg on bsl.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on sg.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where ar.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false and ar.patternstarttime >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc ;-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = $1 THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = $2 AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ($3 = 0 OR s.timegranularity in ($4, $5, $6, $7, $8, $9, $10)) AND ($11 = 0 OR s.exchange in ($12)) AND ($13 = 0 OR coalesce(bim.code, s.symbol) in ($14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226)) AND ($227 = 0 OR ar.pattern in ($228)) AND ($229 = 0 OR ($230 = 1 AND ar.breakout >= 0) OR ($231 = 2 AND ar.breakout < 0)) AND ($232 = 0 OR ar.patternlengthbars <= $233) and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = $234 OR relevant = 1) AND ($235 = 0 OR age <= $236) ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2026-03-21 10:00:54 Duration: 0ms
3 25 114.75 MiB 4.57 MiB 5.02 MiB 4.59 MiB select resultuid from relevance_fibonacci_results order by resultuid desc limit ?), fr as ( select a.*, rr.age, rr.relevant from fibonacci_results a left outer join relevance_fibonacci_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) end), all_results as ( select fr.resultuid as resultuid, fr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, fr.pattern as pattern_name, fr.timed as timed, fr.patternendtime as identified, dtt.timezone as timezone, fr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when fr.age is not null then fr.age when fr.resultuid <= rm.resultuid then ? else ? end as age, case when fr.relevant is not null then fr.relevant when fr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from fr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = fr.symbolid inner join symbols s on fr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on fr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on fr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left join lateral calc_fib_signal_filter (fr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where fr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (fr.simulation = ? or fr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or fr.pattern in (...)) and (? = ? or fr.patternlengthbars <= ?) and (? = ? or (? = ? and fr.timed > cast(? as timestamp)) or (? = ? and fr.timed < cast(? as timestamp)))), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;-
SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = $1 THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $2 AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ($3 = 0 OR s.timegranularity in ($4, $5, $6, $7, $8, $9, $10)) AND ($11 = 0 OR s.exchange in ($12)) AND ($13 = 0 OR coalesce(bim.code, s.symbol) in ($14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226)) AND ($227 = 0 OR fr.pattern in ($228)) AND ($229 = 0 OR fr.patternlengthbars <= $230) AND ($231 = 0 OR ($232 = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ($233 = 2 AND fr.timed < cast('1970-01-01' as timestamp)))), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = $234 OR relevant = 1) AND ($235 = 0 OR age <= $236) ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2026-03-21 10:01:02 Duration: 0ms
4 2 7.73 MiB 3.87 MiB 3.87 MiB 3.87 MiB select resultuid from relevance_consecutivecandles_results order by resultuid desc limit ?), all_results as ( select ccr.resultuid as resultuid, ccr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ccr.patternendtime as identified, dtt.timezone as timezone, ccr.qtyconsecutivecandles as length, g.basegroupname, case when rcr.age is not null then rcr.age when ccr.resultuid <= rm.resultuid then ? else ? end as age, case when rcr.relevant is not null then rcr.relevant when ccr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip, newlevels.filtered from consecutivecandles_results ccr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ccr.symbolid inner join symbols s on ccr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on ccr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on ccr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_consecutivecandles_results rcr on rcr.resultuid = ccr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? left join lateral calc_cc_signal_filter (ccr.resultuid) newlevels on true where ccr.gmttimefound > now() - interval ? and s.deleted = ? and (ccr.simulation = ? or ccr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ccr.patternlengthbars <= ?)), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;-
SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3, $4, $5, $6, $7, $8, $9)) AND ($10 = 0 OR s.exchange in ($11)) AND ($12 = 0 OR coalesce(bim.code, s.symbol) in ($13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226, $227, $228, $229, $230, $231, $232, $233, $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)) AND ($323 = 0 OR ccr.patternlengthbars <= $324)), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = $325 OR relevant = 1) AND ($326 = 0 OR age <= $327) ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2026-03-21 10:49:44 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 602.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:41:44 ]
2 599.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:17:44 ]
3 599.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:52:44 ]
4 596.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:36:59 ]
5 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:37:14 ]
6 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:37:29 ]
7 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:39:15 ]
8 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:39:45 ]
9 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:43:14 ]
10 593.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:50:44 ]
11 587.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:15:44 ]
12 587.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:20:45 ]
13 587.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:21:46 ]
14 587.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:40:29 ]
15 587.29 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:43:00 ]
16 584.30 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:23:29 ]
17 584.30 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:32:44 ]
18 584.30 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:43:45 ]
19 581.30 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:00:46 ]
20 581.30 MiB classname, CASE WHEN latestdbwritetime < current_timestamp - interval '18 hours' THEN 1 ELSE 0 END AS is_stale FROM latest_t15_candle_view order by classname;[ Date: 2026-03-21 10:40:45 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- pg_catalog.pg_type (4) Main table analyzed (database acaweb_fx)
- 18 analyzes Total
Vacuums per table
Key values
- pg_catalog.pg_type (2) Main table vacuumed on database acaweb_fx
- 9 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes acaweb_fx.pg_catalog.pg_type 2 2 375 0 21 0 0 138 23 156,347 acaweb_fx.public.datafeeds_latestrun 2 0 246 0 6 0 0 26 6 27,856 acaweb_fx.pg_catalog.pg_attribute 2 2 2,096 0 220 0 134 701 218 1,385,398 acaweb_fx.pg_catalog.pg_depend 1 1 566 0 72 0 59 184 69 342,635 acaweb_fx.public.latest_t15_candle_view 1 1 94 0 1 0 0 6 1 9,049 acaweb_fx.pg_catalog.pg_class 1 1 360 0 36 0 78 121 37 239,615 Total 9 7 3,737 830 356 0 271 1,176 354 2,160,900 Tuples removed per table
Key values
- pg_catalog.pg_attribute (3374) Main table with removed tuples on database acaweb_fx
- 5068 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain acaweb_fx.pg_catalog.pg_attribute 2 2 3,374 21,314 0 0 536 acaweb_fx.pg_catalog.pg_depend 1 1 919 14,393 0 0 144 acaweb_fx.pg_catalog.pg_type 2 2 525 2,910 0 0 90 acaweb_fx.public.datafeeds_latestrun 2 0 113 28 0 0 32 acaweb_fx.pg_catalog.pg_class 1 1 79 2,594 0 0 150 acaweb_fx.public.latest_t15_candle_view 1 1 58 12 0 0 1 Total 9 7 5,068 41,251 0 0 953 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed acaweb_fx.pg_catalog.pg_depend 1 1 919 0 acaweb_fx.public.latest_t15_candle_view 1 1 58 0 acaweb_fx.pg_catalog.pg_type 2 2 525 0 acaweb_fx.public.datafeeds_latestrun 2 0 113 0 acaweb_fx.pg_catalog.pg_attribute 2 2 3374 0 acaweb_fx.pg_catalog.pg_class 1 1 79 0 Total 9 7 5,068 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 21 10 9 18 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 19,903 Total read queries
- 14,029 Total write queries
Queries by database
Key values
- unknown Main database
- 72,093 Requests
- 57m59s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 72,093 Requests
User Request type Count Duration postgres Total 645 0ms others 212 0ms select 70 0ms tcl 335 0ms update 28 0ms unknown Total 72,093 57m59s cte 1,518 0ms insert 11,195 0ms others 2,343 0ms select 19,833 0ms tcl 345 0ms update 608 0ms Duration by user
Key values
- 57m59s (unknown) Main time consuming user
User Request type Count Duration postgres Total 645 0ms others 212 0ms select 70 0ms tcl 335 0ms update 28 0ms unknown Total 72,093 57m59s cte 1,518 0ms insert 11,195 0ms others 2,343 0ms select 19,833 0ms tcl 345 0ms update 608 0ms Queries by host
Key values
- unknown Main host
- 72,738 Requests
- 57m59s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 72,697 Requests
- 57m59s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 1 per second Cancelled query Peak
- 2026-03-21 10:53:14 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 25,202 0-1ms duration
Slowest individual queries
Rank Duration Query NO DATASET
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 2 0ms 0ms 0ms select key, value from datasources ds inner join datasourceparams dsp on ds.id = dsp.datasourceid where ds.name = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 2 0ms 105 0ms 0ms 0ms with rar_max as ( select resultuid from relevance_consecutivecandles_results order by resultuid desc limit ? ), all_results as ( select ccr.resultuid as resultuid, ccr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ccr.patternendtime as identified, dtt.timezone as timezone, ccr.qtyconsecutivecandles as length, g.basegroupname, case when rcr.age is not null then rcr.age when ccr.resultuid <= rm.resultuid then ? else ? end as age, case when rcr.relevant is not null then rcr.relevant when ccr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip, newlevels.filtered from consecutivecandles_results ccr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ccr.symbolid inner join symbols s on ccr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on ccr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on ccr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_consecutivecandles_results rcr on rcr.resultuid = ccr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? left join lateral calc_cc_signal_filter (ccr.resultuid) newlevels on true where ccr.gmttimefound > now() - interval ? and s.deleted = ? and (ccr.simulation = ? or ccr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ccr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 21 10 105 0ms 0ms 3 0ms 2,325 0ms 0ms 0ms insert into t60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 21 10 2,325 0ms 0ms 4 0ms 55 0ms 0ms 0ms select case when a.old_resultuid = ? then a.old_resultuid else a.resultuid end as resultuid, s.symbol, timegranularity as interval, direction as direction, patternendtime as patternendtime, patternstartprice as psp, patternendprice as pep, target03 as t03, target16 as t16, patternlengthbars as length, p.patternname as patternname, dtt.timezone, cps.pip from fibonacci_results a inner join downloadersymbolsettings dss on a.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left join currencypips cps on cps.symbol = s.symbol where (a.old_resultuid = ? or a.resultuid = ?) and dtt.dayofweek = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 21 10 55 0ms 0ms 5 0ms 237 0ms 0ms 0ms select * from ( select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity) as k order by timegranularity;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 6 0ms 260 0ms 0ms 0ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 21 10 260 0ms 0ms 7 0ms 18 0ms 0ms 0ms select cast(count(*) / cast(setting as numeric) * ? as int) from pg_stat_activity, pg_settings where name = ? group by setting;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 21 10 18 0ms 0ms 8 0ms 237 0ms 0ms 0ms select v.datname, c.relname, v.phase, v.heap_blks_total, v.heap_blks_scanned, v.heap_blks_vacuumed, v.index_vacuum_count, v.max_dead_tuples, v.num_dead_tuples from pg_stat_progress_vacuum as v join pg_class c on c.oid = v.relid;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 9 0ms 2 0ms 0ms 0ms select distinct s.statsid as statsid, sy.exchange as name from stats s inner join broker b on s.brokerid = b.brokerid inner join brokerconfig bc on b.brokerid = bc.brokerid inner join stats_symbols ss on s.statsid = ss.statsid inner join downloadersymbolsettings dss on ss.symbolid = dss.symbolid inner join symbols sy on dss.symbolid = sy.symbolid where dss.enabled = ? and s.brokerid is not null and b.brokerid = ? and s.groupingtype ilike ? and s.description ilike ? || b.name || ? and s.description ilike ? || sy.exchange || ? and s.description not ilike ? || ? || ? union all select distinct s.statsid as statsid, basegroupname as name from stats s inner join broker b on s.brokerid = b.brokerid inner join brokerconfig bc on b.brokerid = bc.brokerid inner join stats_symbols ss on s.statsid = ss.statsid inner join downloadersymbolsettings dss on ss.symbolid = dss.symbolid inner join symbolgroup sg on dss.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bg.brokerid = b.brokerid where dss.enabled = ? and s.brokerid is not null and b.brokerid = ? and s.groupingtype not ilike ? and s.description ilike ? || b.name || ? and s.description ilike ? || g.basegroupname || ? and s.description not ilike ? || ? || ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 10 0ms 2 0ms 0ms 0ms select category, name, sum(total) as total, sum(correct) as correct, (cast(sum(correct) as float) / cast(sum(total) as float)) * ?.? as percentage, min("from") AS "from", max("to") AS "to" from ( select category, name, total, correct, percentage, "from", "to" from stats_summary where statsid = ? and category = lower(?) and name in (...) union select category, name, total, correct, percentage, "from", "to" from stats_hrs_summary where statsid = ? and category = lower(?) and name in (...) order by correct desc) as summdata group by category, name having sum(total) > ? order by name;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 11 0ms 13 0ms 0ms 0ms 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 #11
Day Hour Count Duration Avg duration Mar 21 10 13 0ms 0ms 12 0ms 340 0ms 0ms 0ms commit;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 21 10 340 0ms 0ms 13 0ms 132 0ms 0ms 0ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 21 10 132 0ms 0ms 14 0ms 4 0ms 0ms 0ms select psd.symbolid, psd.hourlysymbolid as intervalsymbolid, s.symbol, dtt.timezone, dtt.absolutetimezoneoffset, psh.hour as index, psh.ave, psh.stddev, ((psh.ave - psh.stddev) / ?.?) as low, ((psh.ave + psh.stddev) / ?.?) as high, ee.timezone as exchangetimezone, ee.mon_t1start as exchangestart, ee.mon_t1end as exchangeend from powerstats_symboldata psd 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 inner join exchanges ee on ee.exchange = s.exchange where psd.symbolid = ? and dtt.dayofweek = ? order by hour asc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 21 10 4 0ms 0ms 15 0ms 237 0ms 0ms 0ms select count(*), sum(size), extract(epoch from now() - min(modification)) from pg_ls_waldir ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 16 0ms 8 0ms 0ms 0ms 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 #16
Day Hour Count Duration Avg duration Mar 21 10 8 0ms 0ms 17 0ms 6 0ms 0ms 0ms select pid, datname, client_addr from pg_stat_activity where query ilike ? and pid <> pg_backend_pid() and state = ? and datname = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 21 10 6 0ms 0ms 18 0ms 1 0ms 0ms 0ms select name, value from systemsettings limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 21 10 1 0ms 0ms 19 0ms 2 0ms 0ms 0ms update executions set isrunning = false, has_results = false, response = ? where id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 20 0ms 237 0ms 0ms 0ms select system_identifier from pg_control_system ();Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,721 0ms 0ms 0ms 0ms select ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 21 10 3,721 0ms 0ms 2 2,780 0ms 0ms 0ms 0ms insert into t15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 21 10 2,780 0ms 0ms 3 2,423 0ms 0ms 0ms 0ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 21 10 2,423 0ms 0ms 4 2,359 0ms 0ms 0ms 0ms insert into t30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 21 10 2,359 0ms 0ms 5 2,325 0ms 0ms 0ms 0ms insert into t60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 21 10 2,325 0ms 0ms 6 1,754 0ms 0ms 0ms 0ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable df on df.classname ilike dss.classname left join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = ? and bim.type = ? where s.symbolid = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 21 10 1,754 0ms 0ms 7 1,681 0ms 0ms 0ms 0ms select s.symbolid as id, s.symbol as name, s.exchange as exchange, s.timegranularity as interval, dtt.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join brokersymbollist bsl on bsl.symbolid = s.symbolid where bsl.brokerid = ? and (? = ? or s.timegranularity = ?) and (s.symbol = ? or dss.downloadersymbol = ?) and dss.enabled = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 21 10 1,681 0ms 0ms 8 966 0ms 0ms 0ms 0ms select datetimeupdate from latest_candle_datetime_per_receng where recognitionengine ilike ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 21 10 966 0ms 0ms 9 948 0ms 0ms 0ms 0ms set extra_float_digits = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 21 10 948 0ms 0ms 10 936 0ms 0ms 0ms 0ms set application_name = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 21 10 936 0ms 0ms 11 704 0ms 0ms 0ms 0ms select symbolid, pricedatetime, classname, downloadfrequency, downloadersymbol, open, high, low, close, volume, bsf, sastdatetimereceived from ( select pricedatetime, dss.classname, dss.downloadfrequency, dss.symbolid, dss.downloadersymbol, t.open, t.high, t.low, t.close, t.volume, t.bsf, t.sastdatetimereceived, row_number() over (partition by t.symbolid order by t.pricedatetime desc) as rn from t15 t, downloadersymbolsettings dss, symbols s where dss.classname = ? and dss.downloadfrequency = ? and dss.symbolid = t.symbolid and s.symbolid = dss.symbolid and dss.enabled = ? and s.deleted = ? and dss.downloadersymbol in (...) and t.pricedatetime > now() - interval ?) as ranked_candles_table where rn = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 21 10 704 0ms 0ms 12 340 0ms 0ms 0ms 0ms commit;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 21 10 340 0ms 0ms 13 340 0ms 0ms 0ms 0ms begin;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 21 10 340 0ms 0ms 14 332 0ms 0ms 0ms 0ms update datafeeds_latestrun set latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime from ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike ?) as subquery where datafeeds_latestrun.feedname ilike ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 21 10 332 0ms 0ms 15 288 0ms 0ms 0ms 0ms insert into t1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 21 10 288 0ms 0ms 16 288 0ms 0ms 0ms 0ms insert into t240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 21 10 288 0ms 0ms 17 260 0ms 0ms 0ms 0ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 21 10 260 0ms 0ms 18 247 0ms 0ms 0ms 0ms insert into authenticationlog (username, password, brokerid, authclass, attemptdatetime, success, fingerprint, accounttype) values (?, ?, ?, ?, current_timestamp, ?, ?, ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 21 10 247 0ms 0ms 19 238 0ms 0ms 0ms 0ms select ;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 21 10 238 0ms 0ms 20 238 0ms 0ms 0ms 0ms select count(*) from datafeeds_latestrun where feedname ilike ? and ((latestrxtime > current_timestamp - interval ? and latestdbwritetime > current_timestamp - interval ?) or (latestdbwritetime > current_timestamp - interval ? and lateststartuptime > current_timestamp - interval ?));Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 21 10 238 0ms 0ms Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 0ms 0ms 0ms 2 0ms select key, value from datasources ds inner join datasourceparams dsp on ds.id = dsp.datasourceid where ds.name = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 2 0ms 0ms 0ms 105 0ms with rar_max as ( select resultuid from relevance_consecutivecandles_results order by resultuid desc limit ? ), all_results as ( select ccr.resultuid as resultuid, ccr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ccr.patternendtime as identified, dtt.timezone as timezone, ccr.qtyconsecutivecandles as length, g.basegroupname, case when rcr.age is not null then rcr.age when ccr.resultuid <= rm.resultuid then ? else ? end as age, case when rcr.relevant is not null then rcr.relevant when ccr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip, newlevels.filtered from consecutivecandles_results ccr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ccr.symbolid inner join symbols s on ccr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on ccr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on ccr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_consecutivecandles_results rcr on rcr.resultuid = ccr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? left join lateral calc_cc_signal_filter (ccr.resultuid) newlevels on true where ccr.gmttimefound > now() - interval ? and s.deleted = ? and (ccr.simulation = ? or ccr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ccr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 21 10 105 0ms 0ms 3 0ms 0ms 0ms 2,325 0ms insert into t60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 21 10 2,325 0ms 0ms 4 0ms 0ms 0ms 55 0ms select case when a.old_resultuid = ? then a.old_resultuid else a.resultuid end as resultuid, s.symbol, timegranularity as interval, direction as direction, patternendtime as patternendtime, patternstartprice as psp, patternendprice as pep, target03 as t03, target16 as t16, patternlengthbars as length, p.patternname as patternname, dtt.timezone, cps.pip from fibonacci_results a inner join downloadersymbolsettings dss on a.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left join currencypips cps on cps.symbol = s.symbol where (a.old_resultuid = ? or a.resultuid = ?) and dtt.dayofweek = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 21 10 55 0ms 0ms 5 0ms 0ms 0ms 237 0ms select * from ( select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity union select timegranularity, extract(day from (max(patternendtime) - min(patternendtime))) from fibonacci_results a inner join symbols s on a.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid where timegranularity = ? and (dss.archive is null or dss.archive is true) group by timegranularity) as k order by timegranularity;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 6 0ms 0ms 0ms 260 0ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 21 10 260 0ms 0ms 7 0ms 0ms 0ms 18 0ms select cast(count(*) / cast(setting as numeric) * ? as int) from pg_stat_activity, pg_settings where name = ? group by setting;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 21 10 18 0ms 0ms 8 0ms 0ms 0ms 237 0ms select v.datname, c.relname, v.phase, v.heap_blks_total, v.heap_blks_scanned, v.heap_blks_vacuumed, v.index_vacuum_count, v.max_dead_tuples, v.num_dead_tuples from pg_stat_progress_vacuum as v join pg_class c on c.oid = v.relid;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 9 0ms 0ms 0ms 2 0ms select distinct s.statsid as statsid, sy.exchange as name from stats s inner join broker b on s.brokerid = b.brokerid inner join brokerconfig bc on b.brokerid = bc.brokerid inner join stats_symbols ss on s.statsid = ss.statsid inner join downloadersymbolsettings dss on ss.symbolid = dss.symbolid inner join symbols sy on dss.symbolid = sy.symbolid where dss.enabled = ? and s.brokerid is not null and b.brokerid = ? and s.groupingtype ilike ? and s.description ilike ? || b.name || ? and s.description ilike ? || sy.exchange || ? and s.description not ilike ? || ? || ? union all select distinct s.statsid as statsid, basegroupname as name from stats s inner join broker b on s.brokerid = b.brokerid inner join brokerconfig bc on b.brokerid = bc.brokerid inner join stats_symbols ss on s.statsid = ss.statsid inner join downloadersymbolsettings dss on ss.symbolid = dss.symbolid inner join symbolgroup sg on dss.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bg.brokerid = b.brokerid where dss.enabled = ? and s.brokerid is not null and b.brokerid = ? and s.groupingtype not ilike ? and s.description ilike ? || b.name || ? and s.description ilike ? || g.basegroupname || ? and s.description not ilike ? || ? || ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 10 0ms 0ms 0ms 2 0ms select category, name, sum(total) as total, sum(correct) as correct, (cast(sum(correct) as float) / cast(sum(total) as float)) * ?.? as percentage, min("from") AS "from", max("to") AS "to" from ( select category, name, total, correct, percentage, "from", "to" from stats_summary where statsid = ? and category = lower(?) and name in (...) union select category, name, total, correct, percentage, "from", "to" from stats_hrs_summary where statsid = ? and category = lower(?) and name in (...) order by correct desc) as summdata group by category, name having sum(total) > ? order by name;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 11 0ms 0ms 0ms 13 0ms 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 #11
Day Hour Count Duration Avg duration Mar 21 10 13 0ms 0ms 12 0ms 0ms 0ms 340 0ms commit;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 21 10 340 0ms 0ms 13 0ms 0ms 0ms 132 0ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 21 10 132 0ms 0ms 14 0ms 0ms 0ms 4 0ms select psd.symbolid, psd.hourlysymbolid as intervalsymbolid, s.symbol, dtt.timezone, dtt.absolutetimezoneoffset, psh.hour as index, psh.ave, psh.stddev, ((psh.ave - psh.stddev) / ?.?) as low, ((psh.ave + psh.stddev) / ?.?) as high, ee.timezone as exchangetimezone, ee.mon_t1start as exchangestart, ee.mon_t1end as exchangeend from powerstats_symboldata psd 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 inner join exchanges ee on ee.exchange = s.exchange where psd.symbolid = ? and dtt.dayofweek = ? order by hour asc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 21 10 4 0ms 0ms 15 0ms 0ms 0ms 237 0ms select count(*), sum(size), extract(epoch from now() - min(modification)) from pg_ls_waldir ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms 16 0ms 0ms 0ms 8 0ms 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 #16
Day Hour Count Duration Avg duration Mar 21 10 8 0ms 0ms 17 0ms 0ms 0ms 6 0ms select pid, datname, client_addr from pg_stat_activity where query ilike ? and pid <> pg_backend_pid() and state = ? and datname = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 21 10 6 0ms 0ms 18 0ms 0ms 0ms 1 0ms select name, value from systemsettings limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 21 10 1 0ms 0ms 19 0ms 0ms 0ms 2 0ms update executions set isrunning = false, has_results = false, response = ? where id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 21 10 2 0ms 0ms 20 0ms 0ms 0ms 237 0ms select system_identifier from pg_control_system ();Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 21 10 237 0ms 0ms Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s326ms 790 0ms 3ms 1ms SELECT symbolid, ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Mar 21 10 790 1s326ms 1ms -
SELECT symbolid, ;
Date: 2026-03-21 10:16:07 Duration: 3ms Database: postgres
-
SELECT symbolid, ;
Date: 2026-03-21 10:47:57 Duration: 2ms Database: postgres
-
SELECT symbolid, ;
Date: 2026-03-21 10:03:45 Duration: 2ms Database: postgres
2 303ms 378 0ms 10ms 0ms WITH rar_max as ( ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 10 378 303ms 0ms -
WITH rar_max as ( ;
Date: 2026-03-21 10:51:52 Duration: 10ms Database: postgres
-
WITH rar_max as ( ;
Date: 2026-03-21 10:51:52 Duration: 4ms Database: postgres
-
WITH rar_max as ( ;
Date: 2026-03-21 10:05:43 Duration: 4ms Database: postgres
3 237ms 2,222 0ms 2ms 0ms INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 10 2,222 237ms 0ms -
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:05:23 Duration: 2ms Database: postgres
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:04 Duration: 0ms Database: postgres
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:53 Duration: 0ms Database: postgres
4 192ms 2,320 0ms 0ms 0ms INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 10 2,320 192ms 0ms -
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:41:04 Duration: 0ms Database: postgres
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:10:04 Duration: 0ms Database: postgres
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:16 Duration: 0ms Database: postgres
5 162ms 135 0ms 1ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 10 135 162ms 1ms -
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:45:52 Duration: 1ms Database: postgres
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:15:59 Duration: 1ms Database: postgres
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:01:03 Duration: 1ms Database: postgres
6 142ms 948 0ms 0ms 0ms SET extra_float_digits = 3;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 10 948 142ms 0ms -
SET extra_float_digits = 3;
Date: 2026-03-21 10:17:53 Duration: 0ms Database: postgres
-
SET extra_float_digits = 3;
Date: 2026-03-21 10:17:22 Duration: 0ms Database: postgres
-
SET extra_float_digits = 3;
Date: 2026-03-21 10:01:03 Duration: 0ms Database: postgres
7 124ms 765 0ms 0ms 0ms INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 10 765 124ms 0ms -
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:17:38 Duration: 0ms Database: postgres
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:17:28 Duration: 0ms Database: postgres
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:20:37 Duration: 0ms Database: postgres
8 91ms 341 0ms 1ms 0ms SELECT ;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 10 341 91ms 0ms -
SELECT ;
Date: 2026-03-21 10:50:47 Duration: 1ms Database: postgres
-
SELECT ;
Date: 2026-03-21 10:46:01 Duration: 1ms Database: postgres
-
SELECT ;
Date: 2026-03-21 10:30:04 Duration: 1ms Database: postgres
9 46ms 288 0ms 0ms 0ms INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 10 288 46ms 0ms -
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:02:42 Duration: 0ms Database: postgres
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:16:58 Duration: 0ms Database: postgres
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:30:04 Duration: 0ms Database: postgres
10 46ms 18 1ms 3ms 2ms select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 10 18 46ms 2ms -
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:21:01 Duration: 3ms Database: postgres
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:41:03 Duration: 3ms Database: postgres
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:21:01 Duration: 3ms Database: postgres
11 39ms 35 0ms 1ms 1ms select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 10 35 39ms 1ms -
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:20:09 Duration: 1ms Database: postgres
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:30:11 Duration: 1ms Database: postgres
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:40:13 Duration: 1ms Database: postgres
12 34ms 288 0ms 0ms 0ms INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 10 288 34ms 0ms -
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:45:53 Duration: 0ms Database: postgres
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:45:59 Duration: 0ms Database: postgres
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:30:37 Duration: 0ms Database: postgres
13 25ms 35 0ms 1ms 0ms select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 10 35 25ms 0ms -
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:20:09 Duration: 1ms Database: postgres
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:40:13 Duration: 0ms Database: postgres
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:20:00 Duration: 0ms Database: postgres
14 14ms 6 2ms 2ms 2ms select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 10 6 14ms 2ms -
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2026-03-21 10:20:05 Duration: 2ms Database: postgres
-
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2026-03-21 10:50:05 Duration: 2ms Database: postgres
-
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2026-03-21 10:40:05 Duration: 2ms Database: postgres
15 10ms 6 1ms 3ms 1ms with wh_patitioned as ( ;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 10 6 10ms 1ms -
with wh_patitioned as ( ;
Date: 2026-03-21 10:04:04 Duration: 3ms Database: postgres
-
with wh_patitioned as ( ;
Date: 2026-03-21 10:10:03 Duration: 2ms Database: postgres
-
with wh_patitioned as ( ;
Date: 2026-03-21 10:55:02 Duration: 1ms Database: postgres
16 10ms 936 0ms 0ms 0ms SET application_name = 'PostgreSQL JDBC Driver';Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 10 936 10ms 0ms -
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2026-03-21 10:47:01 Duration: 0ms Database: postgres
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2026-03-21 10:31:51 Duration: 0ms Database: postgres
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2026-03-21 10:01:03 Duration: 0ms Database: postgres
17 10ms 35 0ms 0ms 0ms select recognitionengine, to_char(datetimeupdate, 'yyyy-mm-dd HH24:MI') from latest_candle_datetime_per_receng;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 10 35 10ms 0ms -
select recognitionengine, to_char(datetimeupdate, 'yyyy-mm-dd HH24:MI') from latest_candle_datetime_per_receng;
Date: 2026-03-21 10:20:09 Duration: 0ms Database: postgres
-
select recognitionengine, to_char(datetimeupdate, 'yyyy-mm-dd HH24:MI') from latest_candle_datetime_per_receng;
Date: 2026-03-21 10:40:13 Duration: 0ms Database: postgres
-
select recognitionengine, to_char(datetimeupdate, 'yyyy-mm-dd HH24:MI') from latest_candle_datetime_per_receng;
Date: 2026-03-21 10:30:11 Duration: 0ms Database: postgres
18 3ms 71 0ms 0ms 0ms select 1;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 10 71 3ms 0ms -
select 1;
Date: 2026-03-21 10:49:03 Duration: 0ms Database: postgres
-
select 1;
Date: 2026-03-21 10:49:23 Duration: 0ms Database: postgres
-
select 1;
Date: 2026-03-21 10:51:52 Duration: 0ms Database: postgres
19 2ms 4 0ms 1ms 0ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 10 4 2ms 0ms -
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:06:01 Duration: 1ms Database: postgres
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:06:00 Duration: 0ms Database: postgres
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:25:57 Duration: 0ms Database: postgres
20 2ms 2 1ms 1ms 1ms SELECT * FROM datafeed_symbols WHERE classname ilike 'ICMARKETS-AU-MT5' LIMIT $1;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 10 2 2ms 1ms -
SELECT * FROM datafeed_symbols WHERE classname ilike 'ICMARKETS-AU-MT5' LIMIT $1;
Date: 2026-03-21 10:22:21 Duration: 1ms Database: postgres
-
SELECT * FROM datafeed_symbols WHERE classname ilike 'ICMARKETS-AU-MT5' LIMIT $1;
Date: 2026-03-21 10:52:20 Duration: 1ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 8s130ms 656 0ms 36ms 12ms WITH rar_max as ( ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 21 10 656 8s130ms 12ms -
WITH rar_max as ( ;
Date: 2026-03-21 10:51:52 Duration: 36ms Database: postgres parameters: $1 = 't', $2 = '558', $3 = '7', $4 = '15', $5 = '30', $6 = '60', $7 = '120', $8 = '240', $9 = '480', $10 = '1440', $11 = '0', $12 = '', $13 = '80', $14 = 'AUDSGD', $15 = 'CHFSGD', $16 = 'EURDKK', $17 = 'EURHKD', $18 = 'EURNOK', $19 = 'EURPLN', $20 = 'EURSEK', $21 = 'EURSGD', $22 = 'EURTRY', $23 = 'EURZAR', $24 = 'GBPDKK', $25 = 'GBPNOK', $26 = 'GBPSEK', $27 = 'GBPSGD', $28 = 'NOKJPY', $29 = 'NOKSEK', $30 = 'SEKJPY', $31 = 'SGDJPY', $32 = 'USDCNH', $33 = 'USDCZK', $34 = 'USDDKK', $35 = 'USDHKD', $36 = 'USDHUF', $37 = 'USDMXN', $38 = 'USDNOK', $39 = 'USDPLN', $40 = 'USDRUB', $41 = 'USDSEK', $42 = 'USDTHB', $43 = 'USDTRY', $44 = 'USDZAR', $45 = 'AUDUSD', $46 = 'EURUSD', $47 = 'GBPUSD', $48 = 'USDCAD', $49 = 'USDCHF', $50 = 'USDJPY', $51 = 'AUDCAD', $52 = 'AUDCHF', $53 = 'AUDJPY', $54 = 'AUDNZD', $55 = 'CADCHF', $56 = 'CADJPY', $57 = 'CHFJPY', $58 = 'EURAUD', $59 = 'EURCAD', $60 = 'EURCHF', $61 = 'EURGBP', $62 = 'EURJPY', $63 = 'EURNZD', $64 = 'GBPAUD', $65 = 'GBPCAD', $66 = 'GBPCHF', $67 = 'GBPJPY', $68 = 'GBPNZD', $69 = 'NZDCAD', $70 = 'NZDCHF', $71 = 'NZDJPY', $72 = 'NZDUSD', $73 = 'USDSGD', $74 = 'AUS200', $75 = 'DE30', $76 = 'ES35', $77 = 'F40', $78 = 'HK50', $79 = 'IT40', $80 = 'JP225', $81 = 'STOXX50', $82 = 'UK100', $83 = 'US2000', $84 = 'US30', $85 = 'US500', $86 = 'CHINA50', $87 = 'USTEC', $88 = 'XAGEUR', $89 = 'XAGUSD', $90 = 'XAUUSD', $91 = 'XAUEUR', $92 = 'XPDUSD', $93 = 'XPTUSD', $94 = '0', $95 = '', $96 = '0', $97 = '0', $98 = '0', $99 = '0', $100 = '0', $101 = 't', $102 = '10', $103 = '10'
-
WITH rar_max as ( ;
Date: 2026-03-21 10:51:52 Duration: 35ms Database: postgres parameters: $1 = 't', $2 = '558', $3 = '7', $4 = '15', $5 = '30', $6 = '60', $7 = '120', $8 = '240', $9 = '480', $10 = '1440', $11 = '0', $12 = '', $13 = '80', $14 = 'AUDSGD', $15 = 'CHFSGD', $16 = 'EURDKK', $17 = 'EURHKD', $18 = 'EURNOK', $19 = 'EURPLN', $20 = 'EURSEK', $21 = 'EURSGD', $22 = 'EURTRY', $23 = 'EURZAR', $24 = 'GBPDKK', $25 = 'GBPNOK', $26 = 'GBPSEK', $27 = 'GBPSGD', $28 = 'NOKJPY', $29 = 'NOKSEK', $30 = 'SEKJPY', $31 = 'SGDJPY', $32 = 'USDCNH', $33 = 'USDCZK', $34 = 'USDDKK', $35 = 'USDHKD', $36 = 'USDHUF', $37 = 'USDMXN', $38 = 'USDNOK', $39 = 'USDPLN', $40 = 'USDRUB', $41 = 'USDSEK', $42 = 'USDTHB', $43 = 'USDTRY', $44 = 'USDZAR', $45 = 'AUDUSD', $46 = 'EURUSD', $47 = 'GBPUSD', $48 = 'USDCAD', $49 = 'USDCHF', $50 = 'USDJPY', $51 = 'AUDCAD', $52 = 'AUDCHF', $53 = 'AUDJPY', $54 = 'AUDNZD', $55 = 'CADCHF', $56 = 'CADJPY', $57 = 'CHFJPY', $58 = 'EURAUD', $59 = 'EURCAD', $60 = 'EURCHF', $61 = 'EURGBP', $62 = 'EURJPY', $63 = 'EURNZD', $64 = 'GBPAUD', $65 = 'GBPCAD', $66 = 'GBPCHF', $67 = 'GBPJPY', $68 = 'GBPNZD', $69 = 'NZDCAD', $70 = 'NZDCHF', $71 = 'NZDJPY', $72 = 'NZDUSD', $73 = 'USDSGD', $74 = 'AUS200', $75 = 'DE30', $76 = 'ES35', $77 = 'F40', $78 = 'HK50', $79 = 'IT40', $80 = 'JP225', $81 = 'STOXX50', $82 = 'UK100', $83 = 'US2000', $84 = 'US30', $85 = 'US500', $86 = 'CHINA50', $87 = 'USTEC', $88 = 'XAGEUR', $89 = 'XAGUSD', $90 = 'XAUUSD', $91 = 'XAUEUR', $92 = 'XPDUSD', $93 = 'XPTUSD', $94 = '0', $95 = '', $96 = '0', $97 = '0', $98 = '0', $99 = '0', $100 = '0', $101 = 't', $102 = '10', $103 = '10'
-
WITH rar_max as ( ;
Date: 2026-03-21 10:52:27 Duration: 32ms Database: postgres parameters: $1 = '667', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '84', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDSGD', $18 = 'CADCHF', $19 = 'CADJPY', $20 = 'CHFJPY', $21 = 'EURAUD', $22 = 'EURCAD', $23 = 'EURCHF', $24 = 'EURCZK', $25 = 'EURGBP', $26 = 'EURHUF', $27 = 'EURJPY', $28 = 'EURNOK', $29 = 'EURNZD', $30 = 'EURPLN', $31 = 'EURSEK', $32 = 'EURSGD', $33 = 'EURTRY', $34 = 'EURZAR', $35 = 'GBPAUD', $36 = 'GBPCAD', $37 = 'GBPCHF', $38 = 'GBPJPY', $39 = 'GBPNZD', $40 = 'GBPPLN', $41 = 'GBPSEK', $42 = 'GBPSGD', $43 = 'NZDCAD', $44 = 'NZDCHF', $45 = 'NZDJPY', $46 = 'NZDSGD', $47 = 'USDCNH', $48 = 'USDCZK', $49 = 'USDHUF', $50 = 'USDNOK', $51 = 'USDPLN', $52 = 'USDSEK', $53 = 'USDSGD', $54 = 'USDTRY', $55 = 'USDZAR', $56 = 'WTI', $57 = 'XBRUSD', $58 = 'XTIUSD', $59 = 'BTCUSD', $60 = 'XAGAUD', $61 = 'XAGUSD', $62 = 'XAUAUD', $63 = 'XAUUSD', $64 = 'XPTUSD', $65 = 'XPDUSD', $66 = 'AUDUSD', $67 = 'EURUSD', $68 = 'GBPUSD', $69 = 'NZDUSD', $70 = 'USDCAD', $71 = 'USDCHF', $72 = 'USDHKD', $73 = 'USDJPY', $74 = 'AUS200', $75 = 'CHINA300', $76 = 'CHINA50', $77 = 'DJ30', $78 = 'ESP35t', $79 = 'EUR50', $80 = 'EURO50', $81 = 'FRA40', $82 = 'GDAXI', $83 = 'GDAXIm', $84 = 'HK50', $85 = 'ITA40', $86 = 'J225', $87 = 'JP225', $88 = 'NAS100', $89 = 'SING30', $90 = 'SPA35', $91 = 'STOXX50', $92 = 'SUI20', $93 = 'UK100', $94 = 'US100', $95 = 'US30', $96 = 'US500', $97 = '500', $98 = '500', $99 = 't', $100 = '10', $101 = '10'
2 2s149ms 790 1ms 4ms 2ms SELECT symbolid, ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 10 790 2s149ms 2ms -
SELECT symbolid, ;
Date: 2026-03-21 10:46:52 Duration: 4ms Database: postgres parameters: $1 = 'MILLENNIUMPF', $2 = '15', $3 = 'GBPUSD.ID', $4 = 'NZDCAD.FX', $5 = 'NASDAQ100', $6 = 'GBPNZD.FX', $7 = 'NZDJPY', $8 = 'GBPUSD.FX', $9 = 'NZDJPY.FX', $10 = 'NZDJPY.ID', $11 = 'GBPUSD'
-
SELECT symbolid, ;
Date: 2026-03-21 10:47:57 Duration: 4ms Database: postgres parameters: $1 = 'PEPPERSTONEMT5', $2 = '15', $3 = 'COIN.US', $4 = 'BIDU.US', $5 = 'BABA.US', $6 = 'ABNB.US', $7 = 'DIS.US', $8 = 'BA.US', $9 = 'GS.US', $10 = 'GOOG.US', $11 = 'AMD.US', $12 = 'BRK.B.US', $13 = 'CRM.US', $14 = 'C.US', $15 = 'AAPL.US', $16 = 'BYND.US', $17 = 'EA.US', $18 = 'AXP.US', $19 = 'AMZN.US'
-
SELECT symbolid, ;
Date: 2026-03-21 10:47:56 Duration: 4ms Database: postgres parameters: $1 = 'MILLENNIUMPF', $2 = '15', $3 = 'NZDUSD', $4 = 'RK_HSI', $5 = 'NZDUSD.ID', $6 = 'OIL', $7 = 'R_SSI', $8 = 'NZDJPY.FX', $9 = 'RK_SSI', $10 = 'NZDUSD.FX', $11 = 'NZDJPY.ID', $12 = 'R_HSI'
3 1s262ms 4,181 0ms 6ms 0ms SELECT ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 10 4,181 1s262ms 0ms -
SELECT ;
Date: 2026-03-21 10:36:06 Duration: 6ms Database: postgres parameters: $1 = '607875014931650301', $2 = '607875014931650301', $3 = '607875014931650301'
-
SELECT ;
Date: 2026-03-21 10:36:00 Duration: 6ms Database: postgres parameters: $1 = '607875014931650301', $2 = '607875014931650301', $3 = '607875014931650301'
-
SELECT ;
Date: 2026-03-21 10:04:07 Duration: 5ms Database: postgres parameters: $1 = '515840243198780300'
4 325ms 13 0ms 44ms 25ms with wh_patitioned as ( ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 10 13 325ms 25ms -
with wh_patitioned as ( ;
Date: 2026-03-21 10:35:07 Duration: 44ms Database: postgres parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
-
with wh_patitioned as ( ;
Date: 2026-03-21 10:10:03 Duration: 31ms Database: postgres parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
-
with wh_patitioned as ( ;
Date: 2026-03-21 10:04:04 Duration: 26ms Database: postgres parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
5 266ms 135 0ms 2ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 10 135 266ms 1ms -
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:02:08 Duration: 2ms Database: postgres parameters: $1 = 'ICMARKETS'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:15:59 Duration: 2ms Database: postgres parameters: $1 = 'PEPPERSTONEMT5'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2026-03-21 10:15:56 Duration: 2ms Database: postgres parameters: $1 = 'GLOBALGTMT5'
6 193ms 2,325 0ms 0ms 0ms INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 10 2,325 193ms 0ms -
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:04 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 20:00:00', $2 = '8312.4', $3 = '8312.4', $4 = '8274.05', $5 = '8279.7', $6 = '14414', $7 = '515840248015562300', $8 = '0', $9 = '2026-03-21 10:11:04.778', $10 = '2026-03-21 10:11:04.68', $11 = '8312.4', $12 = '8312.4', $13 = '8274.05', $14 = '8279.7', $15 = '14414', $16 = '0', $17 = '2026-03-21 10:11:04.778', $18 = '2026-03-21 10:11:04.68'
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:15:55 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 22:00:00', $2 = '128.11', $3 = '128.59', $4 = '127.675', $5 = '128.25', $6 = '986', $7 = '515840249450718300', $8 = '0', $9 = '2026-03-21 10:15:55.572', $10 = '2026-03-21 10:15:55.571', $11 = '128.11', $12 = '128.59', $13 = '127.675', $14 = '128.25', $15 = '986', $16 = '0', $17 = '2026-03-21 10:15:55.572', $18 = '2026-03-21 10:15:55.571'
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:53 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 20:00:00', $2 = '247.04', $3 = '248.97', $4 = '246.33', $5 = '248.53', $6 = '3050', $7 = '515840247899857300', $8 = '0', $9 = '2026-03-21 10:11:53.162', $10 = '2026-03-21 10:11:53.089', $11 = '247.04', $12 = '248.97', $13 = '246.33', $14 = '248.53', $15 = '3050', $16 = '0', $17 = '2026-03-21 10:11:53.162', $18 = '2026-03-21 10:11:53.089'
7 188ms 30 4ms 14ms 6ms WITH last_candle AS ( ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 10 30 188ms 6ms -
WITH last_candle AS ( ;
Date: 2026-03-21 10:36:00 Duration: 14ms Database: postgres parameters: $1 = '558', $2 = '558'
-
WITH last_candle AS ( ;
Date: 2026-03-21 10:36:00 Duration: 14ms Database: postgres parameters: $1 = '558', $2 = '558'
-
WITH last_candle AS ( ;
Date: 2026-03-21 10:48:02 Duration: 12ms Database: postgres parameters: $1 = '558', $2 = '558'
8 168ms 2,359 0ms 0ms 0ms INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 10 2,359 168ms 0ms -
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:41:04 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 21:00:00', $2 = '8279.4', $3 = '8282.4', $4 = '8256.4', $5 = '8265.4', $6 = '6981', $7 = '515840248015340300', $8 = '0', $9 = '2026-03-21 10:41:04.128', $10 = '2026-03-21 10:41:04.028', $11 = '8279.4', $12 = '8282.4', $13 = '8256.4', $14 = '8265.4', $15 = '6981', $16 = '0', $17 = '2026-03-21 10:41:04.128', $18 = '2026-03-21 10:41:04.028'
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:10:04 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 21:00:00', $2 = '8279.4', $3 = '8282.4', $4 = '8256.4', $5 = '8265.4', $6 = '6981', $7 = '515840248015340300', $8 = '0', $9 = '2026-03-21 10:10:04.309', $10 = '2026-03-21 10:10:04.175', $11 = '8279.4', $12 = '8282.4', $13 = '8256.4', $14 = '8265.4', $15 = '6981', $16 = '0', $17 = '2026-03-21 10:10:04.309', $18 = '2026-03-21 10:10:04.175'
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:11:16 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 22:00:00', $2 = '6514.8', $3 = '6526.9', $4 = '6512.4', $5 = '6522.6', $6 = '2230', $7 = '515840248032224300', $8 = '0', $9 = '2026-03-21 10:11:16.931', $10 = '2026-03-21 10:11:16.832', $11 = '6514.8', $12 = '6526.9', $13 = '6512.4', $14 = '6522.6', $15 = '2230', $16 = '0', $17 = '2026-03-21 10:11:16.931', $18 = '2026-03-21 10:11:16.832'
9 136ms 2,780 0ms 0ms 0ms INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 10 2,780 136ms 0ms -
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:17:28 Duration: 0ms Database: postgres parameters: $1 = '2026-03-21 11:00:00', $2 = '70751.335', $3 = '70782.475', $4 = '70727.89', $5 = '70732.26', $6 = '520', $7 = '515840249391752300', $8 = '0', $9 = '2026-03-21 10:17:28.173', $10 = '2026-03-21 10:17:28.111', $11 = '70751.335', $12 = '70782.475', $13 = '70727.89', $14 = '70732.26', $15 = '520', $16 = '0', $17 = '2026-03-21 10:17:28.173', $18 = '2026-03-21 10:17:28.111'
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:17:06 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 23:30:00', $2 = '45681.86', $3 = '45757.86', $4 = '45681.61', $5 = '45733.86', $6 = '1796', $7 = '500991628266833200', $8 = '0', $9 = '2026-03-21 10:17:06.773', $10 = '2026-03-21 10:17:06.709', $11 = '45681.86', $12 = '45757.86', $13 = '45681.61', $14 = '45733.86', $15 = '1796', $16 = '0', $17 = '2026-03-21 10:17:06.773', $18 = '2026-03-21 10:17:06.709'
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:32:52 Duration: 0ms Database: postgres parameters: $1 = '2026-03-21 11:15:00', $2 = '6.005e-06', $3 = '6.025e-06', $4 = '6.005e-06', $5 = '6.015e-06', $6 = '59', $7 = '515840249472059300', $8 = '0', $9 = '2026-03-21 10:32:52.319', $10 = '2026-03-21 10:32:52.251', $11 = '6.005e-06', $12 = '6.025e-06', $13 = '6.005e-06', $14 = '6.015e-06', $15 = '59', $16 = '0', $17 = '2026-03-21 10:32:52.319', $18 = '2026-03-21 10:32:52.251'
10 107ms 3,608 0ms 9ms 0ms select 1;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 10 3,608 107ms 0ms -
select 1;
Date: 2026-03-21 10:36:06 Duration: 9ms Database: postgres
-
select 1;
Date: 2026-03-21 10:36:02 Duration: 3ms Database: postgres
-
select 1;
Date: 2026-03-21 10:35:55 Duration: 2ms Database: postgres
11 51ms 288 0ms 0ms 0ms INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 10 288 51ms 0ms -
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:45:53 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 00:00:00', $2 = '46121.65', $3 = '46241.52', $4 = '45364.05', $5 = '45793.5', $6 = '211963', $7 = '515840249388574300', $8 = '0', $9 = '2026-03-21 10:45:53.399', $10 = '2026-03-21 10:45:53.398', $11 = '46121.65', $12 = '46241.52', $13 = '45364.05', $14 = '45793.5', $15 = '211963', $16 = '0', $17 = '2026-03-21 10:45:53.399', $18 = '2026-03-21 10:45:53.398'
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:47:54 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 00:00:00', $2 = '46121.65', $3 = '46241.52', $4 = '45364.05', $5 = '45793.5', $6 = '211963', $7 = '515840249388574300', $8 = '0', $9 = '2026-03-21 10:47:54.753', $10 = '2026-03-21 10:47:54.753', $11 = '46121.65', $12 = '46241.52', $13 = '45364.05', $14 = '45793.5', $15 = '211963', $16 = '0', $17 = '2026-03-21 10:47:54.753', $18 = '2026-03-21 10:47:54.753'
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:16:58 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 00:00:00', $2 = '157.7555', $3 = '159.3885', $4 = '157.6415', $5 = '159.2315', $6 = '93232', $7 = '515840249376023300', $8 = '0', $9 = '2026-03-21 10:16:58.293', $10 = '2026-03-21 10:16:58.292', $11 = '157.7555', $12 = '159.3885', $13 = '157.6415', $14 = '159.2315', $15 = '93232', $16 = '0', $17 = '2026-03-21 10:16:58.293', $18 = '2026-03-21 10:16:58.292'
12 38ms 288 0ms 0ms 0ms INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 10 288 38ms 0ms -
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:17:38 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 20:00:00', $2 = '1.642155', $3 = '1.64858', $4 = '1.641525', $5 = '1.64755', $6 = '38331', $7 = '515840249383314300', $8 = '0', $9 = '2026-03-21 10:17:38.404', $10 = '2026-03-21 10:17:38.32', $11 = '1.642155', $12 = '1.64858', $13 = '1.641525', $14 = '1.64755', $15 = '38331', $16 = '0', $17 = '2026-03-21 10:17:38.404', $18 = '2026-03-21 10:17:38.32'
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:01:41 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 20:00:00', $2 = '1.15598', $3 = '1.157175', $4 = '1.15469', $5 = '1.15715', $6 = '22821', $7 = '515840249373009300', $8 = '0', $9 = '2026-03-21 10:01:41.914', $10 = '2026-03-21 10:01:41.893', $11 = '1.15598', $12 = '1.157175', $13 = '1.15469', $14 = '1.15715', $15 = '22821', $16 = '0', $17 = '2026-03-21 10:01:41.914', $18 = '2026-03-21 10:01:41.893'
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2026-03-21 10:16:58 Duration: 0ms Database: postgres parameters: $1 = '2026-03-20 20:00:00', $2 = '159.2675', $3 = '159.3885', $4 = '159.1465', $5 = '159.2315', $6 = '17932', $7 = '515840249375819300', $8 = '0', $9 = '2026-03-21 10:16:58.299', $10 = '2026-03-21 10:16:58.184', $11 = '159.2675', $12 = '159.3885', $13 = '159.1465', $14 = '159.2315', $15 = '17932', $16 = '0', $17 = '2026-03-21 10:16:58.299', $18 = '2026-03-21 10:16:58.184'
13 32ms 2 0ms 32ms 16ms select distinct s.statsid as statsid, sy.exchange as name;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 10 2 32ms 16ms -
select distinct s.statsid as statsid, sy.exchange as name;
Date: 2026-03-21 10:56:07 Duration: 32ms Database: postgres parameters: $1 = '888', $2 = '888'
-
select distinct s.statsid as statsid, sy.exchange as name;
Date: 2026-03-21 10:00:03 Duration: 0ms Database: postgres parameters: $1 = '692', $2 = '692'
14 28ms 99 0ms 4ms 0ms /*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 10 99 28ms 0ms -
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2026-03-21 10:42:42 Duration: 4ms Database: postgres parameters: $1 = '607872006403175301'
-
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2026-03-21 10:05:32 Duration: 3ms Database: postgres parameters: $1 = '607870895525436301'
-
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2026-03-21 10:07:11 Duration: 3ms Database: postgres parameters: $1 = '607872007682082301'
15 23ms 35 0ms 0ms 0ms select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 10 35 23ms 0ms -
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:20:09 Duration: 0ms Database: postgres
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:30:11 Duration: 0ms Database: postgres
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2026-03-21 10:20:09 Duration: 0ms Database: postgres
16 22ms 35 0ms 0ms 0ms select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 10 35 22ms 0ms -
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:20:09 Duration: 0ms Database: postgres
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:30:11 Duration: 0ms Database: postgres
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2026-03-21 10:40:13 Duration: 0ms Database: postgres
17 16ms 4 3ms 5ms 4ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 10 4 16ms 4ms -
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:25:57 Duration: 5ms Database: postgres parameters: $1 = '667', $2 = '667'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:06:01 Duration: 4ms Database: postgres parameters: $1 = '627', $2 = '627'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2026-03-21 10:06:00 Duration: 4ms Database: postgres parameters: $1 = '627', $2 = '627'
18 13ms 31 0ms 4ms 0ms /*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 10 31 13ms 0ms -
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:35:55 Duration: 4ms Database: postgres parameters: $1 = '607872186882662303'
-
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:52:07 Duration: 2ms Database: postgres parameters: $1 = '607872183641618303'
-
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:00:31 Duration: 1ms Database: postgres parameters: $1 = '607872775249990303'
19 13ms 18 0ms 0ms 0ms select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 10 18 13ms 0ms -
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:31:01 Duration: 0ms Database: postgres
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:01:04 Duration: 0ms Database: postgres
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2026-03-21 10:41:03 Duration: 0ms Database: postgres
20 8ms 11 0ms 2ms 0ms /*server.FibonacciResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, Exchange AS e, longname as lo, shortname as sho, 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, 1 - 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, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM Fibonacci_Results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN fibonaccipatterns p on a.pattern = p.patternname where resultuid = $1 and dtt.dayofweek = 3;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 10 11 8ms 0ms -
/*server.FibonacciResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, Exchange AS e, longname as lo, shortname as sho, 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, 1 - 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, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM Fibonacci_Results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN fibonaccipatterns p on a.pattern = p.patternname where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:18:10 Duration: 2ms Database: postgres parameters: $1 = '607872070827810302'
-
/*server.FibonacciResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, Exchange AS e, longname as lo, shortname as sho, 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, 1 - 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, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM Fibonacci_Results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN fibonaccipatterns p on a.pattern = p.patternname where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:09:56 Duration: 1ms Database: postgres parameters: $1 = '607872066703934302'
-
/*server.FibonacciResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, Exchange AS e, longname as lo, shortname as sho, 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, 1 - 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, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM Fibonacci_Results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid INNER JOIN fibonaccipatterns p on a.pattern = p.patternname where resultuid = $1 and dtt.dayofweek = 3;
Date: 2026-03-21 10:46:29 Duration: 1ms Database: postgres parameters: $1 = '607872070594643302'
-
Events
Log levels
Key values
- 138,325 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 237 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 237 Max number of times the same event was reported
- 237 Total events found
Rank Times reported Error 1 237 ERROR: canceling statement due to statement timeout
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 21 10 237 - ERROR: canceling statement due to statement timeout
Statement: /* service='datadog-agent' */ select count(*) from (select *, row_number() over (partition by whid order by id desc) r from whatshot_probability where "type" = 'cp' union select *, row_number() over (partition by whid order by id desc) r from whatshot_probability where "type" = 'ekl' union select *, row_number() over (partition by whid order by id desc) r from whatshot_probability where type = 'kl') as k where r > 3;
Date: 2026-03-21 10:00:14