-
Global information
- Generated on Mon Jul 26 22:59:06 2021
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2021-07-26_000000.log, ..., /home/postgres/pg_data/data/pg_log/postgresql-2021-07-26_230000.log
- Parsed 2,408,711 log entries in 4m5s
- Log start from 2021-07-26 00:00:00 to 2021-07-26 23:59:57
-
Overview
Global Stats
- 17,552 Number of unique normalized queries
- 679,420 Number of queries
- 12d21h36m33s Total query duration
- 2021-07-26 00:00:00 First query
- 2021-07-26 23:59:57 Last query
- 134 queries/s at 2021-07-26 00:59:26 Query peak
- 12d21h36m33s Total query duration
- 1m32s Prepare/parse total duration
- 5m27s Bind total duration
- 12d21h29m32s Execute total duration
- 59,031 Number of events
- 14 Number of unique normalized events
- 47,687 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 6,356 Number temporary file
- 303.50 MiB Max size of temporary file
- 6.13 MiB Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 679,420 Average queries per session
- 12d21h36m33s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 134 queries/s Query Peak
- 2021-07-26 00:59:26 Date
SELECT Traffic
Key values
- 39 queries/s Query Peak
- 2021-07-26 06:28:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 123 queries/s Query Peak
- 2021-07-26 09:01:09 Date
Queries duration
Key values
- 12d21h36m33s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 00 44,035 50ms 7h51m3s 4s364ms 1h27m36s 5h41m21s 13h20m10s 01 41,132 50ms 1h30m28s 2s876ms 1h21m51s 1h49m31s 4h30m13s 02 43,145 50ms 1h41m25s 2s830ms 1h21m11s 2h17m42s 3h54m43s 03 54,252 50ms 1h4m43s 2s624ms 1h23m38s 1h56m41s 3h15m11s 04 24,655 50ms 1h32m1s 2s51ms 27m56s 1h9m24s 2h3m43s 05 20,824 50ms 9m1s 1s105ms 11m34s 15m9s 19m31s 06 22,386 50ms 12m24s 1s210ms 15m31s 25m49s 27m19s 07 22,376 50ms 9m58s 1s246ms 19m42s 26m10s 30m16s 08 29,796 50ms 16m 1s76ms 26m51s 27m59s 35m 09 26,819 50ms 12m49s 913ms 15m2s 21m15s 32m33s 10 24,556 50ms 16m21s 1s168ms 19m28s 24m38s 40m48s 11 27,929 50ms 14m18s 887ms 15m43s 21m51s 26m54s 12 25,484 50ms 14m14s 1s126ms 17m14s 33m35s 34m47s 13 28,388 50ms 10m51s 1s34ms 22m55s 28m 29m37s 14 25,962 50ms 10m37s 1s22ms 14m21s 26m17s 36m16s 15 33,038 50ms 8m38s 875ms 19m14s 26m32s 35m58s 16 33,156 50ms 26m54s 893ms 26m21s 28m34s 32m11s 17 26,415 50ms 19m28s 1s159ms 27m4s 33m37s 35m32s 18 27,118 50ms 18m17s 938ms 17m58s 21m16s 23m35s 19 27,362 50ms 10m25s 1s60ms 19m25s 27m26s 33m51s 20 24,702 50ms 8m23s 972ms 14m3s 20m43s 24m3s 21 23,664 50ms 10m45s 1s60ms 17m42s 27m55s 31m43s 22 19,977 50ms 9m55s 1s56ms 11m20s 15m33s 26m43s 23 2,249 50ms 2m31s 870ms 1m6s 1m23s 3m1s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 00 19,078 26 8s689ms 32m16s 1h18m14s 7h57m2s 01 16,650 26 5s101ms 26m19s 1h12m12s 2h12s 02 16,684 26 5s460ms 24m59s 1h18m10s 3h2m29s 03 18,937 26 5s525ms 47m50s 1h18m6s 3h1m28s 04 8,378 27 3s932ms 8m5s 13m35s 1h36m34s 05 7,982 26 1s427ms 5m18s 6m55s 9m34s 06 7,875 26 1s680ms 6m23s 8m16s 12m4s 07 7,373 27 1s739ms 5m28s 8m11s 11m 08 9,597 26 1s682ms 8m1s 10m44s 14m7s 09 7,615 26 1s755ms 5m11s 10m27s 14m14s 10 7,529 25 2s18ms 6m58s 10m43s 15m19s 11 7,872 26 1s565ms 5m43s 8m27s 14m27s 12 7,714 24 1s909ms 6m57s 8m37s 17m42s 13 9,152 26 1s549ms 6m46s 9m39s 12m42s 14 6,914 26 1s757ms 5m58s 7m44s 12m36s 15 7,994 26 1s569ms 5m35s 8m38s 11m3s 16 7,194 25 1s880ms 6m10s 9m40s 16m32s 17 7,967 24 1s609ms 5m55s 7m53s 11m49s 18 8,636 26 1s389ms 5m59s 7m21s 12m17s 19 7,281 26 1s611ms 5m37s 6m36s 10m23s 20 7,647 26 1s677ms 5m44s 8m18s 13m6s 21 7,018 26 1s719ms 5m56s 7m8s 12m6s 22 5,522 26 1s840ms 3m54s 6m18s 8m54s 23 884 23 633ms 9s35ms 24s528ms 1m8s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 26 00 21,413 2,413 33 66 292ms 1m28s 2m52s 4m51s 01 20,918 3,023 72 59 558ms 54s666ms 5m20s 20m59s 02 20,875 4,481 10 70 579ms 53s168ms 7m7s 21m14s 03 29,180 5,168 13 49 592ms 1m38s 13m6s 19m36s 04 11,716 2,441 0 74 559ms 23s678ms 1m50s 16m30s 05 9,244 1,387 0 75 264ms 6s960ms 34s53ms 4m15s 06 10,553 2,121 0 78 383ms 10s171ms 43s253ms 14m29s 07 11,697 1,489 0 77 479ms 10s243ms 1m13s 18m38s 08 13,917 4,540 15 71 458ms 30s21ms 1m37s 19m4s 09 14,881 3,198 0 76 220ms 17s953ms 46s825ms 8m22s 10 13,317 2,504 4 77 350ms 16s229ms 44s279ms 15m6s 11 16,242 2,512 0 75 271ms 14s816ms 58s623ms 10m51s 12 13,868 2,533 14 78 377ms 23s435ms 1m6s 12m29s 13 15,513 2,404 0 67 390ms 25s735ms 1m18s 13m45s 14 14,551 3,309 2 75 369ms 19s610ms 1m1s 13m29s 15 19,179 4,638 30 76 375ms 26s736ms 1m56s 18m38s 16 19,914 4,937 0 79 350ms 33s33ms 2m 18m52s 17 15,060 2,291 2 78 552ms 19s277ms 2m8s 19m8s 18 14,082 3,223 0 76 322ms 19s401ms 1m 13m12s 19 16,094 2,914 0 77 470ms 24s218ms 1m25s 18m32s 20 13,565 2,347 0 78 267ms 14s365ms 49s862ms 11m10s 21 13,291 2,220 0 77 376ms 12s375ms 47s110ms 16m48s 22 11,542 1,797 0 76 274ms 9s164ms 23s73ms 7m58s 23 5 37 0 64 217ms 459ms 676ms 1s104ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 26 00 37 15,679 423.76 0.08% 01 79 13,874 175.62 0.19% 02 63 14,948 237.27 0.15% 03 60 15,424 257.07 0.11% 04 9 8,611 956.78 0.04% 05 9 9,692 1,076.89 0.04% 06 3 8,231 2,743.67 0.01% 07 7 8,499 1,214.14 0.03% 08 6 8,602 1,433.67 0.02% 09 10 8,349 834.90 0.04% 10 17 8,341 490.65 0.07% 11 11 8,820 801.82 0.04% 12 7 8,604 1,229.14 0.03% 13 4 10,040 2,510.00 0.01% 14 4 7,680 1,920.00 0.02% 15 8 8,699 1,087.38 0.02% 16 3 7,906 2,635.33 0.01% 17 5 8,663 1,732.60 0.02% 18 4 7,230 1,807.50 0.01% 19 7 6,980 997.14 0.03% 20 3 7,134 2,378.00 0.01% 21 8 7,763 970.38 0.03% 22 3 6,098 2,032.67 0.02% 23 0 2,028 2,028.00 0.00% Day Hour Count Average / Second Jul 26 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Day Hour Count Average Duration Average idle time Jul 26 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 26 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 26 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 26 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jul 26 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 267.01 MiB Temp Files size Peak
- 2021-07-26 04:07:53 Date
Number of temporary files
Key values
- 8 per second Temp Files Peak
- 2021-07-26 11:33:15 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 26 00 194 1.06 GiB 5.62 MiB 01 86 573.71 MiB 6.67 MiB 02 178 1.20 GiB 6.89 MiB 03 146 901.48 MiB 6.17 MiB 04 412 2.42 GiB 6.01 MiB 05 389 2.03 GiB 5.35 MiB 06 447 2.29 GiB 5.25 MiB 07 487 2.51 GiB 5.28 MiB 08 291 1.68 GiB 5.90 MiB 09 238 1.47 GiB 6.31 MiB 10 256 2.16 GiB 8.65 MiB 11 256 1.61 GiB 6.43 MiB 12 257 1.55 GiB 6.19 MiB 13 222 1.41 GiB 6.50 MiB 14 237 1.47 GiB 6.33 MiB 15 248 1.52 GiB 6.29 MiB 16 218 1.23 GiB 5.79 MiB 17 210 1.24 GiB 6.06 MiB 18 231 1.33 GiB 5.91 MiB 19 208 1.35 GiB 6.66 MiB 20 314 1.62 GiB 5.30 MiB 21 280 1.62 GiB 5.91 MiB 22 263 1.56 GiB 6.07 MiB 23 288 2.25 GiB 8.00 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,676 7.46 GiB 3.84 MiB 5.59 MiB 4.56 MiB select resultuid from relevance_keylevels_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3)) AND ($4 = 0 OR s.exchange in ($5)) AND ($6 = 0 OR s.symbol in ($7)) AND ($8 = 0 OR p.patternname in ($9)) AND ($10 = 0 OR kr.patternclassid in ($11)) AND ($12 = 0 OR kr.patternlengthbars <= $13) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $14 OR relevant = 1) AND ($15 = 0 OR age <= $16) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 23:00:07 Duration: 0ms Database: acaweb_fx User: postgres
2 469 2.07 GiB 3.67 MiB 5.58 MiB 4.52 MiB select resultuid from relevance_fibonacci_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) fr.resultuid as resultuid, fr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, fr.pattern as pattern_name, fr.timed as timed, fr.patternendtime as identified, dtt.timezone as timezone, fr.patternlengthbars as length, g.basegroupname, case when rar.age is not null then rar.age when fr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when fr.resultuid <= rm.resultuid then ? else ? end as relevant from fibonacci_results fr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = fr.symbolid inner join symbols s on fr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on fr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on fr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_fibonacci_results rar on rar.resultuid = fr.resultuid where fr.gmttimefound > now() - interval ? and (fr.simulation = ? or fr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or fr.pattern in (...)) and (? = ? or fr.patternlengthbars <= ?) and (? = ? or (? = ? and fr.timed > cast(? as timestamp)) or (? = ? and fr.timed < cast(? as timestamp))) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM fibonacci_results fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = fr.resultuid WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3)) AND ($4 = 0 OR s.exchange in ($5)) AND ($6 = 0 OR s.symbol in ($7)) AND ($8 = 0 OR fr.pattern in ($9)) AND ($10 = 0 OR fr.patternlengthbars <= $11) AND ($12 = 0 OR ($13 = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ($14 = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $15 OR relevant = 1) AND ($16 = 0 OR age <= $17) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 23:00:13 Duration: 0ms Database: acaweb_fx User: postgres
3 339 2.66 GiB 3.30 MiB 50.25 MiB 8.02 MiB )) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
)) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517029429 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:03:20 Duration: 0ms Database: acaweb_fx User: postgres
4 213 467.41 MiB 1.74 MiB 2.68 MiB 2.19 MiB with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then ? else ? end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then ? else ? end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike ? inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike ?) sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike ?; update solr_relevance_old set newrelevant = ? where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike ? and a.resultuid is null); update solr_relevance_old set new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total from ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total from whatshot_probability where type in (...)) sub where result_uid = sub.resultuid;-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 01:03:37 Duration: 2m30s Database: acaweb_fx User: postgres
-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 03:53:32 Duration: 1m30s Database: acaweb_fx User: postgres
-
with max_ra as ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1) update solr_relevance_old set newrelevant = sub.relevant, newage = sub.age from ( select so.uuid, case when ra.relevant is not null then ra.relevant when so.result_uid < max_ra.resultuid then 0 else 1 end as relevant, case when ra.age is not null then ra.age when so.result_uid < max_ra.resultuid then 11 else 0 end as age, so.result_uid from max_ra, solr_relevance_old so inner join keylevels_results k on so.result_uid = k.resultuid and so.uuid ilike 'kl_%' inner join downloadersymbolsettings dss on k.symbolid = dss.symbolid left outer join relevance_keylevels_results ra on so.result_uid = ra.resultuid and so.uuid ilike 'kl_%') sub where solr_relevance_old.result_uid = sub.result_uid and solr_relevance_old.uuid ilike 'kl_%'; update solr_relevance_old set newrelevant = 0 where result_uid in ( select result_uid from solr_relevance_old s left outer join keylevels_results a on a.resultuid = s.result_uid where s.uuid ilike 'kl_%' and a.resultuid is null); UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type in ('kl', 'ekl')) sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 03:20:17 Duration: 1m29s Database: acaweb_fx User: postgres
5 162 1.16 GiB 3.03 MiB 61.41 MiB 7.30 MiB )) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
)) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 23:19:21 Duration: 0ms Database: acaweb_fx User: postgres
6 151 892.98 MiB 3.91 MiB 14.23 MiB 5.91 MiB ) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 60))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517169996 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:06:23 Duration: 0ms Database: acaweb_fx User: postgres
7 120 1014.77 MiB 2.50 MiB 28.39 MiB 8.46 MiB select stats_createsummarytables_chartpattens (cast(? as int));-
select stats_createSummaryTables_ChartPattens (cast(4446 as int));
Date: 2021-07-26 02:43:16 Duration: 1h41m25s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4871 as int));
Date: 2021-07-26 00:57:22 Duration: 58m43s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4868 as int));
Date: 2021-07-26 00:18:16 Duration: 19m37s Database: acaweb_fx User: postgres
8 92 983.35 MiB 2.05 MiB 30.80 MiB 10.69 MiB select stats_createsummarytables_keylevels (cast(? as int));-
select stats_createSummaryTables_KeyLevels (cast(4446 as int));
Date: 2021-07-26 00:56:05 Duration: 7h51m3s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4385 as int));
Date: 2021-07-26 00:56:10 Duration: 3h21m31s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4748 as int));
Date: 2021-07-26 00:54:45 Duration: 3h16m22s Database: acaweb_fx User: postgres
9 61 549.19 MiB 3.39 MiB 50.23 MiB 9.00 MiB )) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
)) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61304018 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 23:45:39 Duration: 0ms Database: acaweb_fx User: postgres
10 58 272.89 MiB 3.20 MiB 10.52 MiB 4.71 MiB when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 22:26:30 Duration: 0ms Database: acaweb_fx User: postgres
11 43 319.40 MiB 3.20 MiB 45.23 MiB 7.43 MiB )) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
)) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61330951 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 21:45:31 Duration: 0ms Database: acaweb_fx User: postgres
12 43 246.05 MiB 2.55 MiB 17.79 MiB 5.72 MiB select stats_createsummarytables_by_groups_chartpattens (cast(? as int));-
select stats_createSummaryTables_by_groups_ChartPattens (cast(244 as int));
Date: 2021-07-26 20:54:48 Duration: 8m23s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_by_groups_ChartPattens (cast(201 as int));
Date: 2021-07-26 20:12:51 Duration: 7m5s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_by_groups_ChartPattens (cast(258 as int));
Date: 2021-07-26 21:19:40 Duration: 6m11s Database: acaweb_fx User: postgres
13 33 225.61 MiB 3.94 MiB 50.52 MiB 6.84 MiB )) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
)) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517277052 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 22:32:45 Duration: 0ms Database: acaweb_fx User: postgres
14 26 179.62 MiB 4.09 MiB 13.31 MiB 6.91 MiB when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 23:04:50 Duration: 0ms Database: acaweb_fx User: postgres
15 23 146.25 MiB 4.04 MiB 23.20 MiB 6.36 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%gbpusd%' AND timegranularity = 60)) OR ((s.symbol ilike '%forex%' AND timegranularity = 60))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517125713 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:14:23 Duration: 0ms Database: acaweb_fx User: postgres
16 23 136.22 MiB 3.36 MiB 10.32 MiB 5.92 MiB when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 21:54:29 Duration: 0ms Database: acaweb_fx User: postgres
17 22 171.37 MiB 1.73 MiB 17.98 MiB 7.79 MiB select stats_createsummarytables_by_groups_keylevels (cast(? as int));-
select stats_createSummaryTables_by_groups_KeyLevels (cast(251 as int));
Date: 2021-07-26 21:11:27 Duration: 10m45s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_by_groups_KeyLevels (cast(262 as int));
Date: 2021-07-26 21:40:37 Duration: 7m50s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_by_groups_KeyLevels (cast(293 as int));
Date: 2021-07-26 22:09:43 Duration: 6m48s Database: acaweb_fx User: postgres
18 15 89.62 MiB 4.14 MiB 10.11 MiB 5.97 MiB ) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurgbp%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517125767 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:03:13 Duration: 0ms Database: acaweb_fx User: postgres
19 15 109.07 MiB 6.85 MiB 7.34 MiB 7.27 MiB with a as ( select *, row_number() over (partition by symbolid, direction order by datetime desc) r from sa_hist_consecutivecandles ) select distinct a.symbolid, a.qty, a.percentile, a.direction from a inner join symbols s on a.symbolid = s.symbolid inner join autochartist_stocklist aus on s.symbolid = aus.symbolid where aus.enabled = ? and a.r = ? and aus.recognitionengine ilike ?;-
WITH a AS ( SELECT *, row_number() OVER (PARTITION BY symbolid, direction ORDER BY datetime DESC) r FROM sa_hist_consecutivecandles ) SELECT DISTINCT a.symbolid, a.qty, a.percentile, a.direction FROM a INNER JOIN symbols s on a.symbolid = s.symbolid INNER JOIN autochartist_stocklist aus on s.symbolid = aus.symbolid WHERE aus.Enabled = 1 AND a.r = 1 AND aus.RecognitionEngine ILIKE 'LEGACYFXMT5 - 1';
Date: 2021-07-26 18:28:11 Duration: 7s221ms Database: acaweb_fx User: postgres
-
WITH a AS ( SELECT *, row_number() OVER (PARTITION BY symbolid, direction ORDER BY datetime DESC) r FROM sa_hist_consecutivecandles ) SELECT DISTINCT a.symbolid, a.qty, a.percentile, a.direction FROM a INNER JOIN symbols s on a.symbolid = s.symbolid INNER JOIN autochartist_stocklist aus on s.symbolid = aus.symbolid WHERE aus.Enabled = 1 AND a.r = 1 AND aus.RecognitionEngine ILIKE 'XM - 2';
Date: 2021-07-26 08:29:26 Duration: 5s567ms Database: acaweb_fx User: postgres
-
WITH a AS ( SELECT *, row_number() OVER (PARTITION BY symbolid, direction ORDER BY datetime DESC) r FROM sa_hist_consecutivecandles ) SELECT DISTINCT a.symbolid, a.qty, a.percentile, a.direction FROM a INNER JOIN symbols s on a.symbolid = s.symbolid INNER JOIN autochartist_stocklist aus on s.symbolid = aus.symbolid WHERE aus.Enabled = 1 AND a.r = 1 AND aus.RecognitionEngine ILIKE 'XM - 2';
Date: 2021-07-26 19:28:47 Duration: 4s980ms Database: acaweb_fx User: postgres
20 14 89.77 MiB 4.84 MiB 9.23 MiB 6.41 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%gbpcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%gbpchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%gbpnzd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%nzdcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%nzdchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%nzdjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%usdcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%usdchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%usdjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%xagusd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%xauusd %' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516983637 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 10:01:33 Duration: 0ms Database: acaweb_fx User: postgres
21 14 64.16 MiB 4.10 MiB 5.12 MiB 4.58 MiB ) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?))) and patternlengthbars >= ? and averagequality >= ?.? and timequality >= ?.? and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%xauusd%' AND timegranularity = 15)) OR ((symbol ilike '%xauusd%' AND timegranularity = 30)) OR ((symbol ilike '%xauusd%' AND timegranularity = 60)) OR ((symbol ilike '%xauusd%' AND timegranularity = 240)) OR ((symbol ilike '%xauusd%' AND timegranularity = 1440))) AND patternlengthbars >= 40 AND averagequality >= 0.0 AND timequality >= 0.8 AND errormargin >= 0.8 AND 1 - noise >= 0.8 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 16:50:38 Duration: 0ms Database: acaweb_fx User: postgres
22 12 64.52 MiB 4.52 MiB 8.23 MiB 5.38 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%ustec%' AND timegranularity = 15)) OR ((s.symbol ilike '%ustec%' AND timegranularity = 30)) OR ((s.symbol ilike '%ustec%' AND timegranularity = 60)) OR ((s.symbol ilike '%ustec%' AND timegranularity = 240)) OR ((s.symbol ilike '%ustec%' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517328960 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:03:19 Duration: 0ms Database: acaweb_fx User: postgres
23 11 50.73 MiB 3.21 MiB 6.37 MiB 4.61 MiB ) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 22:07:43 Duration: 0ms Database: acaweb_fx User: postgres
24 10 45.91 MiB 4.23 MiB 5.07 MiB 4.59 MiB ) or ((symbol ilike ? and timegranularity = ?))) and patternlengthbars >= ? and averagequality >= ?.? and timequality >= ?.? and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%xauusd%' AND timegranularity = 60))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND timequality >= 0.8 AND errormargin >= 0.8 AND 1 - noise >= 0.8 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 16:18:37 Duration: 0ms Database: acaweb_fx User: postgres
25 9 47.75 MiB 5.15 MiB 5.67 MiB 5.31 MiB select updateresultsmaterializedview ();-
select updateresultsmaterializedview ();
Date: 2021-07-26 01:55:54 Duration: 8m22s Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 00:14:27 Duration: 5m57s Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 04:04:43 Duration: 4m16s Database: acaweb_fx User: postgres
26 8 35.59 MiB 2.78 MiB 6.05 MiB 4.45 MiB select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 03:43:15 Duration: 1h4m43s Database: acaweb_fx User: postgres
27 8 47.00 MiB 4.05 MiB 7.98 MiB 5.88 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%gbpusd%' AND timegranularity = 60)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity = 240)) OR ((c.symbol ilike '%gbpcad%' AND timegranularity = 30)) OR ((c.symbol ilike '%gbpcad%' AND timegranularity = 60)) OR ((c.symbol ilike '%gbpcad%' AND timegranularity = 240))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 18:46:21 Duration: 0ms Database: acaweb_fx User: postgres
28 7 26.44 MiB 3.77 MiB 3.80 MiB 3.78 MiB select resultuid from relevance_autochartist_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3, $4, $5, $6, $7, $8, $9)) AND ($10 = 0 OR s.exchange in ($11)) AND ($12 = 0 OR s.symbol in ($13)) AND ($14 = 0 OR ar.pattern in ($15)) AND ($16 = 0 OR ($17 = 1 AND ar.breakout >= 0) OR ($18 = 2 AND ar.breakout < 0)) AND ($19 = 0 OR ar.patternlengthbars <= $20) and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $21 OR relevant = 1) AND ($22 = 0 OR age <= $23) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 10:29:44 Duration: 0ms Database: acaweb_fx User: postgres
29 7 38.58 MiB 4.84 MiB 5.75 MiB 5.51 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%audchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%audjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%audnzd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%audusd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%cadchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%cadjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%chfjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%euraud%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurgbp%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurnzd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 1440))) AND breakout = - 1 AND patternlengthbars >= 100 AND patternquality >= 0.5 AND initialtrend >= 0.5 AND symmetry >= 0.5 AND noise <= 0.5 AND volumeincrease >= 0.5 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 510232364 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 09:29:32 Duration: 0ms Database: acaweb_fx User: postgres
30 6 114.12 MiB 15.03 MiB 25.53 MiB 19.02 MiB with pet as ( select enddate, t.symbolid, row_number() over (partition by t.symbolid order by enddate desc) r from powerstats_trumpet t inner join brokersymbollist bsl on t.symbolid = bsl.symbolid and bsl.brokerid = ? ) select _xml from ( select * from ( select distinct replace(symbol, ?, ?) || ? || dayofweek || ? || fromtime || ? || round(ave_15, ?) || ? || round(ave_30, ?) || ? || round(ave_60, ?) || ? || round(ave_240, ?) || ? || round(ave_1440, ?) || ? || dayofweek || ? || fromtime || ? as _xml, replace(symbol, ?, ?) as symbol, dayofweek, fromtime, round(ave_15, ?) as ave_15, round(ave_30, ?) as ave_30, round(ave_60, ?) as ave_60, round(ave_240, ?) as ave_240, round(ave_1440, ?) as ave_1440 from symbols s inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join pet on pet.r = ? and bsl.symbolid = pet.symbolid and bsl.brokerid = ? inner join powerstats_trumpet pt on bsl.symbolid = pt.symbolid and pet.enddate = pt.enddate where case when ? != ? then ? = ? else ? = ? end and case when ? > ? and ? != ? then s.exchange ilike ? else ? = ? end) b order by symbol, dayofweek, fromtime) a;-
WITH pet as ( select enddate, t.symbolid, row_number() over (partition by t.symbolid order by enddate desc) r from powerstats_trumpet t inner join brokersymbollist bsl on t.symbolid = bsl.symbolid and bsl.brokerid = 75 ) select _xml FROM ( select * from ( select distinct replace(symbol, ' ', '~') || '%<' || dayofweek || '_' || fromtime || '><15>' || round(ave_15, 5) || '</15><30>' || round(ave_30, 5) || '</30><60>' || round(ave_60, 5) || '</60><240>' || round(ave_240, 5) || '</240><1440>' || round(ave_1440, 5) || '</1440></' || dayofweek || '_' || fromtime || '>' as _xml, replace(symbol, ' ', '~') as symbol, dayofweek, fromtime, round(ave_15, 5) as ave_15, round(ave_30, 5) as ave_30, round(ave_60, 5) as ave_60, round(ave_240, 5) as ave_240, round(ave_1440, 5) as ave_1440 from symbols s inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join pet on pet.r = 1 and bsl.symbolid = pet.symbolid and bsl.brokerid = 75 inner join powerstats_trumpet pt on bsl.symbolid = pt.symbolid and pet.enddate = pt.enddate where case when 75 != 285 then 1 = 1 else 1 = 0 end and case when 59 > 500 and 75 != 412 then s.exchange ilike 'FOREX' ELSE 1 = 1 END) b order by symbol, dayofweek, fromtime) a;
Date: 2021-07-26 00:34:26 Duration: 3m8s Database: acaweb_fx User: postgres
-
WITH pet as ( select enddate, t.symbolid, row_number() over (partition by t.symbolid order by enddate desc) r from powerstats_trumpet t inner join brokersymbollist bsl on t.symbolid = bsl.symbolid and bsl.brokerid = 689 ) select _xml FROM ( select * from ( select distinct replace(symbol, ' ', '~') || '%<' || dayofweek || '_' || fromtime || '><15>' || round(ave_15, 5) || '</15><30>' || round(ave_30, 5) || '</30><60>' || round(ave_60, 5) || '</60><240>' || round(ave_240, 5) || '</240><1440>' || round(ave_1440, 5) || '</1440></' || dayofweek || '_' || fromtime || '>' as _xml, replace(symbol, ' ', '~') as symbol, dayofweek, fromtime, round(ave_15, 5) as ave_15, round(ave_30, 5) as ave_30, round(ave_60, 5) as ave_60, round(ave_240, 5) as ave_240, round(ave_1440, 5) as ave_1440 from symbols s inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join pet on pet.r = 1 and bsl.symbolid = pet.symbolid and bsl.brokerid = 689 inner join powerstats_trumpet pt on bsl.symbolid = pt.symbolid and pet.enddate = pt.enddate where case when 689 != 285 then 1 = 1 else 1 = 0 end and case when 150 > 500 and 689 != 412 then s.exchange ilike 'FOREX' ELSE 1 = 1 END) b order by symbol, dayofweek, fromtime) a;
Date: 2021-07-26 00:05:23 Duration: 1m39s Database: acaweb_fx User: postgres
-
WITH pet as ( select enddate, t.symbolid, row_number() over (partition by t.symbolid order by enddate desc) r from powerstats_trumpet t inner join brokersymbollist bsl on t.symbolid = bsl.symbolid and bsl.brokerid = 763 ) select _xml FROM ( select * from ( select distinct replace(symbol, ' ', '~') || '%<' || dayofweek || '_' || fromtime || '><15>' || round(ave_15, 5) || '</15><30>' || round(ave_30, 5) || '</30><60>' || round(ave_60, 5) || '</60><240>' || round(ave_240, 5) || '</240><1440>' || round(ave_1440, 5) || '</1440></' || dayofweek || '_' || fromtime || '>' as _xml, replace(symbol, ' ', '~') as symbol, dayofweek, fromtime, round(ave_15, 5) as ave_15, round(ave_30, 5) as ave_30, round(ave_60, 5) as ave_60, round(ave_240, 5) as ave_240, round(ave_1440, 5) as ave_1440 from symbols s inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join pet on pet.r = 1 and bsl.symbolid = pet.symbolid and bsl.brokerid = 763 inner join powerstats_trumpet pt on bsl.symbolid = pt.symbolid and pet.enddate = pt.enddate where case when 763 != 285 then 1 = 1 else 1 = 0 end and case when 355 > 500 and 763 != 412 then s.exchange ilike 'FOREX' ELSE 1 = 1 END) b order by symbol, dayofweek, fromtime) a;
Date: 2021-07-26 00:54:49 Duration: 1m2s Database: acaweb_fx User: postgres
31 6 32.88 MiB 3.95 MiB 6.50 MiB 5.48 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurcad%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurchf%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurgbp%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurnzd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eursgd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 240)) OR ((s.symbol ilike '%euraud%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurgbp%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurnzd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eursgd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517136433 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 22:24:08 Duration: 0ms Database: acaweb_fx User: postgres
32 5 30.92 MiB 4.15 MiB 10.29 MiB 6.18 MiB ) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%eurnzd%' AND timegranularity = 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 20:32:29 Duration: 0ms Database: acaweb_fx User: postgres
33 5 36.02 MiB 3.92 MiB 11.54 MiB 7.20 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 30)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 60)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517169740 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:12:50 Duration: 0ms Database: acaweb_fx User: postgres
34 4 917.08 MiB 37.58 MiB 303.50 MiB 229.27 MiB select cleanupkeylevelsresults (?, ?, ?);-
select cleanupkeylevelsresults (60, 10, 60);
Date: 2021-07-26 04:14:29 Duration: 1h14m27s Database: acaweb_fx User: postgres
-
select cleanupkeylevelsresults (30, 10, 30);
Date: 2021-07-26 23:07:32 Duration: 2m31s Database: acaweb_fx User: postgres
-
select cleanupkeylevelsresults (15, 10, 15);
Date: 2021-07-26 23:11:07 Duration: 1m5s Database: acaweb_fx User: postgres
35 4 27.84 MiB 5.33 MiB 8.59 MiB 6.96 MiB select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:56:01 Duration: 45m15s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:11:06 Duration: 44m40s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:54:41 Duration: 43m58s Database: acaweb_fx User: postgres
36 3 13.05 MiB 4.01 MiB 4.59 MiB 4.35 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 21:37:26 Duration: 0ms Database: acaweb_fx User: postgres
37 3 4.88 MiB 1.53 MiB 1.67 MiB 1.63 MiB update solr_relevance_old set new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total from ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total from whatshot_probability where type = ?) sub where result_uid = sub.resultuid;-
UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type = 'cp') sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 12:04:14 Duration: 48s637ms Database: acaweb_fx User: postgres
-
UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type = 'cp') sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 01:48:28 Duration: 47s69ms Database: acaweb_fx User: postgres
-
UPDATE solr_relevance_old SET new_hod_correct = sub.hod_correct, new_hod_percent = sub.hod_percent, new_hod_total = sub.hod_total, new_pattern_correct = sub.pattern_correct, new_pattern_percent = sub.pattern_percent, new_pattern_total = sub.pattern_total, new_percent = sub.percent, new_symbol_correct = sub.symbol_correct, new_symbol_percent = sub.symbol_percent, new_symbol_total = sub.symbol_total FROM ( select distinct resultuid, hod_correct, hod_percent, hod_total, hod, pattern_correct, pattern_percent, pattern_total, percent, symbol_correct, symbol_percent, symbol_total FROM whatshot_probability WHERE type = 'cp') sub WHERE result_uid = sub.resultuid;
Date: 2021-07-26 03:03:40 Duration: 46s237ms Database: acaweb_fx User: postgres
38 3 12.29 MiB 3.23 MiB 4.66 MiB 4.10 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%chfjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurchf%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdx%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%btcusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xrpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%wti%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdzar%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xagusd%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 23:12:06 Duration: 0ms Database: acaweb_fx User: postgres
39 3 13.77 MiB 4.00 MiB 5.48 MiB 4.59 MiB ) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%gbpnzd%' AND timegranularity = 240)) OR ((symbol ilike '%gbpnzd%' AND timegranularity = 60)) OR ((symbol ilike '%gbpnzd%' AND timegranularity = 60)) OR ((symbol ilike '%gbpnzd%' AND timegranularity = 30)) OR ((symbol ilike '%gbpnzd%' AND timegranularity = 15))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61276916 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 12:44:01 Duration: 0ms Database: acaweb_fx User: postgres
40 3 74.28 MiB 14.09 MiB 32.78 MiB 24.76 MiB select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid in ( select statsid from stats where (? = ? or brokerid = ?)) and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? and (? = ? or statsid >= ?) order by ss.statsid;-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 08:09:07 Duration: 49s352ms Database: acaweb_fx User: postgres
-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 15:28:47 Duration: 35s188ms Database: acaweb_fx User: postgres
-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 12:39:54 Duration: 19s401ms Database: acaweb_fx User: postgres
41 3 17.36 MiB 3.99 MiB 7.35 MiB 5.79 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%oil%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdidx%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517311743 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 17:18:20 Duration: 0ms Database: acaweb_fx User: postgres
42 3 74.26 MiB 14.08 MiB 32.76 MiB 24.75 MiB select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (? = ? or brokerid = ?)) and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? and (? = ? or statsid >= ?) order by ss.statsid;-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 02:38:27 Duration: 8m Database: acaweb_fx User: postgres
-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 00:10:41 Duration: 1m44s Database: acaweb_fx User: postgres
-
select distinct ss.statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where ss.statsid in ( select statsid from stats where (0 = 0 or brokerid = 0)) and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' and (0 = 0 OR statsid >= 0) order by ss.statsid;
Date: 2021-07-26 01:27:14 Duration: 34s4ms Database: acaweb_fx User: postgres
43 3 16.89 MiB 5.25 MiB 6.25 MiB 5.63 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%xauusd%' AND timegranularity = 240)) OR ((c.symbol ilike '%eurusd%' AND timegranularity = 1440)) OR ((c.symbol ilike '%xauusd%' AND timegranularity = 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.qtytp >= $5 AND a.resultuid > $6 AND c.nonliquid = $7 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 17:01:29 Duration: 0ms Database: acaweb_fx User: postgres
44 3 18.10 MiB 4.43 MiB 7.37 MiB 6.03 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%chfjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdx%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%btcusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%xrpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%wti%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdzar%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%xagusd%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61323397 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 18:44:17 Duration: 0ms Database: acaweb_fx User: postgres
45 3 13.41 MiB 4.08 MiB 5.22 MiB 4.47 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%oil%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdidx%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61312613 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 20:22:33 Duration: 0ms Database: acaweb_fx User: postgres
46 2 8.89 MiB 4.39 MiB 4.50 MiB 4.45 MiB ) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%cadchf%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 17:40:14 Duration: 0ms Database: acaweb_fx User: postgres
47 2 7.99 MiB 3.99 MiB 4.00 MiB 4.00 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%eurchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurgbp%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdidx%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61325547 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 17:26:20 Duration: 0ms Database: acaweb_fx User: postgres
48 2 12.21 MiB 4.55 MiB 7.66 MiB 6.11 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpusd%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61328846 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 18:23:49 Duration: 0ms Database: acaweb_fx User: postgres
49 2 8.33 MiB 4.16 MiB 4.16 MiB 4.16 MiB ) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%us30%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61321649 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 02:01:23 Duration: 0ms Database: acaweb_fx User: postgres
50 2 16.10 MiB 7.30 MiB 8.80 MiB 8.05 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 15)) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 30)) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 60)) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 240)) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 0.6 AND symmetry >= 0.6 AND noise <= 0.4 AND volumeincrease >= 0.6 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 515362471 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 16:50:19 Duration: 0ms Database: acaweb_fx User: postgres
51 2 8.45 MiB 3.98 MiB 4.47 MiB 4.22 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%xauusd%' AND timegranularity = 15)) OR ((c.symbol ilike '%xauusd%' AND timegranularity = 60)) OR ((c.symbol ilike '%xauusd%' AND timegranularity = 240))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 12:05:54 Duration: 0ms Database: acaweb_fx User: postgres
52 2 14.02 MiB 3.94 MiB 10.08 MiB 7.01 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 19:14:20 Duration: 0ms Database: acaweb_fx User: postgres
53 2 9.94 MiB 4.57 MiB 5.37 MiB 4.97 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%gbpusd%' AND timegranularity = 60)) OR ((s.symbol ilike '%forex%' AND timegranularity = 60))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 21:05:26 Duration: 0ms Database: acaweb_fx User: postgres
54 2 13.20 MiB 6.39 MiB 6.81 MiB 6.60 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%xagusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%cadchf%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61328846 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 20:14:45 Duration: 0ms Database: acaweb_fx User: postgres
55 2 11.83 MiB 5.25 MiB 6.58 MiB 5.91 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdchf%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpnzd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%chfjpy%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 23:35:19 Duration: 0ms Database: acaweb_fx User: postgres
56 2 8.18 MiB 4.08 MiB 4.10 MiB 4.09 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%oil%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdidx%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 19:18:22 Duration: 0ms Database: acaweb_fx User: postgres
57 2 8.64 MiB 4.30 MiB 4.34 MiB 4.32 MiB (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 17:03:36 Duration: 0ms Database: acaweb_fx User: postgres
58 1 4.50 MiB 4.50 MiB 4.50 MiB 4.50 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurcad%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurchf%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurgbp%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurnzd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eursgd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 240)) OR ((s.symbol ilike '%euraud%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurchf%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurgbp%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurnzd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eursgd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 20:24:18 Duration: 0ms Database: acaweb_fx User: postgres
59 1 4.87 MiB 4.87 MiB 4.87 MiB 4.87 MiB ) or ((symbol ilike ? and timegranularity = ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%it40%' AND timegranularity = 60))) AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 12:40:09 Duration: 0ms Database: acaweb_fx User: postgres
60 1 3.98 MiB 3.98 MiB 3.98 MiB 3.98 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdczk%' AND timegranularity = 1440)) OR ((c.symbol ilike '%usdczk%' AND timegranularity = 240))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 12:12:00 Duration: 0ms Database: acaweb_fx User: postgres
61 1 3.93 MiB 3.93 MiB 3.93 MiB 3.93 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%nzdchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpjpy%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 1.0 OR timequality = - 1) AND errormargin >= 1.0 AND 1 - noise >= 1.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 16:26:32 Duration: 0ms Database: acaweb_fx User: postgres
62 1 4.30 MiB 4.30 MiB 4.30 MiB 4.30 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurnzd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdchf%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 16:17:11 Duration: 0ms Database: acaweb_fx User: postgres
63 1 7.85 MiB 7.85 MiB 7.85 MiB 7.85 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%cadjpy%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurusd%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.qtytp >= $5 AND a.resultuid > $6 AND c.nonliquid = $7 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 22:00:41 Duration: 0ms Database: acaweb_fx User: postgres
64 1 4.31 MiB 4.31 MiB 4.31 MiB 4.31 MiB ) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '% xauusd%' AND timegranularity = 15)) OR ((symbol ilike '% xauusd%' AND timegranularity = 30)) OR ((symbol ilike '% xauusd%' AND timegranularity = 60)) OR ((symbol ilike '% xauusd%' AND timegranularity = 240)) OR ((symbol ilike '% xauusd%' AND timegranularity = 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61323979 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 05:39:50 Duration: 0ms Database: acaweb_fx User: postgres
65 1 4.06 MiB 4.06 MiB 4.06 MiB 4.06 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%de30%' AND timegranularity = 60)) OR ((c.symbol ilike '%de30%' AND timegranularity = 240)) OR ((c.symbol ilike '%de30%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%de30%' AND timegranularity = 30)) OR ((c.symbol ilike '%de30%' AND timegranularity = 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 21:46:22 Duration: 0ms Database: acaweb_fx User: postgres
66 1 4.50 MiB 4.50 MiB 4.50 MiB 4.50 MiB )) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? and ((rar.age is null and a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)) or rar.age >= ( case c.timegranularity when ? then ? when ? then ? when ? then ? when ? then ? when ? then ? end)) order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
)) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 AND ((rar.age IS NULL AND a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1)) OR rar.age >= ( case c.timegranularity when 1440 then 1 when 240 then 3 when 60 then 4 when 30 then 5 when 15 then 5 end)) ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 09:30:14 Duration: 0ms Database: acaweb_fx User: postgres
67 1 4.62 MiB 4.62 MiB 4.62 MiB 4.62 MiB with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ($2 = 0 OR s.timegranularity in ($3, $4, $5, $6, $7, $8, $9)) AND ($10 = 0 OR s.exchange in ($11)) AND ($12 = 0 OR s.symbol in ($13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226, $227, $228, $229, $230, $231, $232, $233, $234, $235, $236, $237, $238, $239, $240, $241, $242, $243, $244, $245, $246, $247, $248, $249, $250, $251, $252)) AND ($253 = 0 OR p.patternname in ($254)) AND ($255 = 0 OR kr.patternclassid in ($256, $257)) AND ($258 = 0 OR kr.patternlengthbars <= $259) ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = $260 OR relevant = 1) AND ($261 = 0 OR age <= $262) ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:10:51 Duration: 0ms Database: acaweb_fx User: postgres
68 1 8.27 MiB 8.27 MiB 8.27 MiB 8.27 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%chfjpy%' AND timegranularity = 30)) OR ((s.symbol ilike '%chfjpy%' AND timegranularity = 60)) OR ((s.symbol ilike '%chfjpy%' AND timegranularity = 240)) OR ((s.symbol ilike '%chfjpy%' AND timegranularity = 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517110774 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 10:14:57 Duration: 0ms Database: acaweb_fx User: postgres
69 1 3.92 MiB 3.92 MiB 3.92 MiB 3.92 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%cadjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity = 1440)) OR ((s.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdcad%' AND timegranularity = 1440)) OR ((s.symbol ilike '%nas100%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nas100%' AND timegranularity = 1440))) AND breakout = - 1 AND patternlengthbars >= 0 AND patternquality >= 0.0 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:29:03 Duration: 0ms Database: acaweb_fx User: postgres
70 1 4.69 MiB 4.69 MiB 4.69 MiB 4.69 MiB select tl.timezone langtimezone, t.timezone as timezone, (cast(substring(t.gmoffset, ?, ?) as double precision) * ? + cast(substring(t.gmoffset, ?, ?) as double precision)) / ? as gmoffset from timezones_th_th tl inner join timezones t on tl.timezoneid = t.timezoneid order by t.timezone;-
SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset, 0, 4) as double precision) * 60 + cast(substring(t.gmoffset, 5, 2) as double precision)) / 60 as gmoffset FROM timezones_th_TH tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone;
Date: 2021-07-26 09:35:23 Duration: 0ms Database: acaweb_fx User: postgres
71 1 7.29 MiB 7.29 MiB 7.29 MiB 7.29 MiB ) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%eurpln%' AND timegranularity = 30)) OR ((symbol ilike '%eurpln%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61275589 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 21:30:15 Duration: 0ms Database: acaweb_fx User: postgres
72 1 6.56 MiB 6.56 MiB 6.56 MiB 6.56 MiB ) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%chfjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurchf%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdx%' AND timegranularity <= 1440)) OR ((symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((symbol ilike '%btcusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%xrpusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%wti%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdzar%' AND timegranularity <= 1440)) OR ((symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%xagusd%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 23:11:19 Duration: 0ms Database: acaweb_fx User: postgres
73 1 3.91 MiB 3.91 MiB 3.91 MiB 3.91 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 240)) OR ((s.symbol ilike '%eurusd%' AND timegranularity = 1440)) OR ((s.symbol ilike '%xauusd%' AND timegranularity = 1440))) AND breakout >= 0.2 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 40 AND patternquality >= 0.2 AND initialtrend >= 0.2 AND symmetry >= 0.2 AND noise <= 0.8 AND volumeincrease >= 0.2 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516237509 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 18:50:20 Duration: 0ms Database: acaweb_fx User: postgres
74 1 5.73 MiB 5.73 MiB 5.73 MiB 5.73 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%nzdusd%' AND timegranularity = 15)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity = 30)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity = 60)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity = 240))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517293994 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 10:17:48 Duration: 0ms Database: acaweb_fx User: postgres
75 1 9.34 MiB 9.34 MiB 9.34 MiB 9.34 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%eurusd%' AND timegranularity = 60)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity = 60)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity = 60)) OR ((c.symbol ilike '%eurgbp%' AND timegranularity = 30)) OR ((c.symbol ilike '%eurgbp%' AND timegranularity = 15)) OR ((c.symbol ilike '%eurusd%' AND timegranularity = 30)) OR ((c.symbol ilike '%eurusd%' AND timegranularity = 15)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity = 15)) OR ((c.symbol ilike '%usdjpy%' AND timegranularity = 30)) OR ((c.symbol ilike '%eurgbp%' AND timegranularity = 15))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 11:17:35 Duration: 0ms Database: acaweb_fx User: postgres
76 1 7.96 MiB 7.96 MiB 7.96 MiB 7.96 MiB ) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity = ?)) or ((symbol ilike ? and timegranularity <= ?)) or ((symbol ilike ? and timegranularity <= ?))) and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;-
) OR ((symbol ilike '%xauusd%' AND timegranularity = 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity = 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61305957 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 04:46:52 Duration: 0ms Database: acaweb_fx User: postgres
77 1 4.35 MiB 4.35 MiB 4.35 MiB 4.35 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%nzdchf%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.qtytp >= $5 AND a.resultuid > $6 AND c.nonliquid = $7 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 07:38:10 Duration: 0ms Database: acaweb_fx User: postgres
78 1 33.48 MiB 33.48 MiB 33.48 MiB 33.48 MiB select cleanupconsecutivecandlesresults ();-
select cleanupconsecutivecandlesresults ();
Date: 2021-07-26 04:05:11 Duration: 9s807ms Database: acaweb_fx User: postgres
-
select cleanupconsecutivecandlesresults ();
Date: 2021-07-26 04:05:04 Duration: 0ms Database: acaweb_fx User: postgres
79 1 7.26 MiB 7.26 MiB 7.26 MiB 7.26 MiB select cleanupbigmovementsresults ();-
select cleanupbigmovementsresults ();
Date: 2021-07-26 04:00:18 Duration: 17s102ms Database: acaweb_fx User: postgres
-
select cleanupbigmovementsresults ();
Date: 2021-07-26 04:00:04 Duration: 0ms Database: acaweb_fx User: postgres
80 1 7.20 MiB 7.20 MiB 7.20 MiB 7.20 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%nzdchf%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.7 AND initialtrend >= 0.7 AND symmetry >= 0.7 AND noise <= 0.30000000000000004 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517223507 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:41:23 Duration: 0ms Database: acaweb_fx User: postgres
81 1 3.95 MiB 3.95 MiB 3.95 MiB 3.95 MiB ) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?)) or ((c.symbol ilike ? and timegranularity <= ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%audusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdchf%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%nzdusd%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%audjpy%' AND timegranularity <= 1440)) OR ((c.symbol ilike '%euraud%' AND timegranularity <= 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 19:54:21 Duration: 0ms Database: acaweb_fx User: postgres
82 1 7.26 MiB 7.26 MiB 7.26 MiB 7.26 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 13:40:53 Duration: 0ms Database: acaweb_fx User: postgres
83 1 4.58 MiB 4.58 MiB 4.58 MiB 4.58 MiB select cleanup_whatshot (?, ?, ?);-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:41:54 Duration: 1m52s Database: acaweb_fx User: postgres
-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:41:55 Duration: 988ms Database: acaweb_fx User: postgres
-
select cleanup_whatshot (2, 3, 1);
Date: 2021-07-26 02:40:46 Duration: 0ms Database: acaweb_fx User: postgres
84 1 10.12 MiB 10.12 MiB 10.12 MiB 10.12 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%usdjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%chfjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurchf%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdx%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%eurjpy%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%btcusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%xrpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%wti%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdzar%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%usdcad%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%xauusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%xagusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 23:11:13 Duration: 0ms Database: acaweb_fx User: postgres
85 1 4.21 MiB 4.21 MiB 4.21 MiB 4.21 MiB ) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity <= ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%eurusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%gbpusd%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%audusd%' AND timegranularity <= 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517276291 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 00:40:52 Duration: 0ms Database: acaweb_fx User: postgres
86 1 5.27 MiB 5.27 MiB 5.27 MiB 5.27 MiB select resultuid from relevance_keylevels_results order by resultuid desc limit ?), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ?;-
SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0;
Date: 2021-07-26 10:23:22 Duration: 0ms Database: acaweb_fx User: postgres
87 1 6.48 MiB 6.48 MiB 6.48 MiB 6.48 MiB ) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity <= ?)) or ((s.symbol ilike ? and timegranularity = ?)) or ((s.symbol ilike ? and timegranularity = ?))) and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
) OR ((s.symbol ilike '%de30%' AND timegranularity = 60)) OR ((s.symbol ilike '%de30%' AND timegranularity = 240)) OR ((s.symbol ilike '%de30%' AND timegranularity <= 1440)) OR ((s.symbol ilike '%de30%' AND timegranularity = 30)) OR ((s.symbol ilike '%de30%' AND timegranularity = 1440))) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 21:42:55 Duration: 0ms Database: acaweb_fx User: postgres
88 1 5.49 MiB 5.49 MiB 5.49 MiB 5.49 MiB select cleanupautochartistresults (?, ?, ?);-
select cleanupautochartistresults (30, 3, 30);
Date: 2021-07-26 22:25:57 Duration: 9m55s Database: acaweb_fx User: postgres
-
select cleanupautochartistresults (360, 3, 1440);
Date: 2021-07-26 02:03:44 Duration: 3m42s Database: acaweb_fx User: postgres
-
select cleanupautochartistresults (60, 10, 60);
Date: 2021-07-26 22:10:34 Duration: 32s771ms Database: acaweb_fx User: postgres
89 1 11.61 MiB 11.61 MiB 11.61 MiB 11.61 MiB ) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%gbpusd%' AND timegranularity = 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.qtytp >= $5 AND a.resultuid > $6 AND c.nonliquid = $7 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 07:47:01 Duration: 0ms Database: acaweb_fx User: postgres
90 1 5.67 MiB 5.67 MiB 5.67 MiB 5.67 MiB ) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?)) or ((c.symbol ilike ? and timegranularity = ?))) and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;-
) OR ((c.symbol ilike '%audchf%' AND timegranularity = 1440)) OR ((c.symbol ilike '%audjpy%' AND timegranularity = 1440)) OR ((c.symbol ilike '%audnzd%' AND timegranularity = 1440)) OR ((c.symbol ilike '%audusd%' AND timegranularity = 1440)) OR ((c.symbol ilike '%cadchf%' AND timegranularity = 1440)) OR ((c.symbol ilike '%cadjpy%' AND timegranularity = 1440)) OR ((c.symbol ilike '%chfjpy%' AND timegranularity = 1440)) OR ((c.symbol ilike '%euraud%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurcad%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurchf%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurgbp%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurjpy%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurnzd%' AND timegranularity = 1440)) OR ((c.symbol ilike '%eurusd%' AND timegranularity = 1440))) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 09:45:33 Duration: 0ms Database: acaweb_fx User: postgres
Queries generating the largest temporary files
Rank Size Query 1 303.50 MiB select cleanupkeylevelsresults (30, 10, 30);[ Date: 2021-07-26 23:05:02 - Database: acaweb_fx - User: postgres ]
2 302.15 MiB select cleanupkeylevelsresults (15, 10, 15);[ Date: 2021-07-26 23:10:02 - Database: acaweb_fx - User: postgres ]
3 273.85 MiB select cleanupkeylevelsresults (60, 10, 60);[ Date: 2021-07-26 04:07:53 - Database: acaweb_fx - User: postgres ]
4 61.41 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 06:38:17 - Database: acaweb_fx - User: postgres ]
5 50.52 MiB )) AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 02:37:06 - Database: acaweb_fx - User: postgres ]
6 50.25 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 06:54:33 - Database: acaweb_fx - User: postgres ]
7 50.23 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61217139 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 05:49:32 - Database: acaweb_fx - User: postgres ]
8 45.26 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 23:05:03 - Database: acaweb_fx - User: postgres ]
9 45.26 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 23:40:36 - Database: acaweb_fx - User: postgres ]
10 45.26 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61304018 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 23:45:39 - Database: acaweb_fx - User: postgres ]
11 45.26 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 23:30:29 - Database: acaweb_fx - User: postgres ]
12 45.26 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 23:50:42 - Database: acaweb_fx - User: postgres ]
13 45.26 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 23:55:45 - Database: acaweb_fx - User: postgres ]
14 45.24 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 17:58:12 - Database: acaweb_fx - User: postgres ]
15 45.24 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 18:06:37 - Database: acaweb_fx - User: postgres ]
16 45.24 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 18:37:57 - Database: acaweb_fx - User: postgres ]
17 45.24 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 18:43:28 - Database: acaweb_fx - User: postgres ]
18 45.24 MiB )) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;[ Date: 2021-07-26 20:38:28 - Database: acaweb_fx - User: postgres ]
19 45.23 MiB )) AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61326820 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;[ Date: 2021-07-26 15:42:51 - Database: acaweb_fx - User: postgres ]
20 42.48 MiB )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: 2021-07-26 15:09:11 - Database: acaweb_fx - User: postgres ]
21 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
22 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
23 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
24 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
25 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
26 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
27 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
28 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
29 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
30 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
31 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
32 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
33 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
34 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
35 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
36 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
37 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
38 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
39 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
40 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
41 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
42 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
43 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
44 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
45 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
46 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
47 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
48 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
49 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
50 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
51 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
52 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
53 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
54 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
55 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
56 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
57 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
58 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
59 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
60 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
61 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
62 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
63 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
64 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
65 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
66 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
67 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
68 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
69 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
70 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
71 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
72 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
73 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
74 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
75 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
76 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
77 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
78 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
79 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
80 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
81 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
82 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
83 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
84 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
85 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
86 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
87 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
88 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
89 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
90 0 )) AND patternclassid = $1 AND patternlengthbars >= $2 AND a.PatternID & $3 > 0 AND dftt.dayofweek = $4 AND a.resultuid > $5 AND c.nonliquid = $6 AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;[ Date: ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 26 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 47,890 locks Total
Type Object Count Total Duration Average Duration (s) AccessExclusiveLock 47,687 21h44m2s 1s640ms object 47,687 21h44m2s 1s640ms AccessShareLock 112 1h13m49s 39s552ms relation 112 1h13m49s 39s552ms ExclusiveLock 7 7s1ms 1s relation 7 7s1ms 1s ShareLock 84 43m4s 30s771ms transaction 84 43m4s 30s771ms Total 47,890 23h41m4s 1s780ms Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 14,208 6h15m23s 1s6ms 10s143ms 1s585ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1010366, '2021-07-26 23:15:00'::timestamp without time zone, 0.92582, 0.92615, 0.92582, 0.92599, 328, 0, '2021-07-26 22:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1010366 AND pricedatetime = '2021-07-26 23:15:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:07 Database: acaweb_fx User: postgres
2 11,659 5h14m57s 1s 11s263ms 1s620ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954162, '2021-07-26 23:00:00'::timestamp without time zone, 0.92611, 0.92624, 0.92576, 0.92605, 1303, 0, '2021-07-26 22:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 954162 AND pricedatetime = '2021-07-26 23:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:08 Database: acaweb_fx User: postgres
3 6,269 2h55m46s 1s 8s634ms 1s682ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1010378, '2021-07-26 22:00:00'::timestamp without time zone, 0.67563, 0.67595, 0.67535, 0.67593, 1530, 0, '2021-07-26 22:01:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1010378 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:01:08 Database: acaweb_fx User: postgres
4 86 1h9m50s 3s996ms 2m15s 48s728ms select datetimeupdate from latest_candle_datetime_per_receng where recognitionengine ilike ?;-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ADSSECURITIES - 1';
Date: 2021-07-26 01:04:18 Database: acaweb_fx User: postgres
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';
Date: 2021-07-26 01:04:18 Database: acaweb_fx User: postgres
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';
Date: 2021-07-26 01:04:18 Database: acaweb_fx User: postgres
5 1,629 49m38s 1s19ms 8s642ms 1s828ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 966858, '2021-07-26 12:00:00'::timestamp without time zone, 81.45, 81.497, 81.399, 81.491, 7354, 0, '2021-07-26 22:01:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 966858 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:01:14 Database: acaweb_fx User: postgres
6 5 33m40s 4m19s 14m3s 6m44s update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 00:30:00', reason = 'Pattern formed a Breakout pattern.' WHERE uniqueIndex = '|960521|0.73549|2|2021-07-23 17:45:00|1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:45:00', reason = 'Pattern formed a Breakout pattern (see |974475|87.861|2|2021-07-26 03:45:00|-1|1).' WHERE uniqueIndex = '|974475|87.861|2|2021-07-23 21:15:00|1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Pattern formed a Breakout pattern (see |1032237|0.60653|1|2021-07-26 03:30:00|1|1).' WHERE uniqueIndex = '|1032237|0.60653|1|2021-07-25 12:00:00|-1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Database: acaweb_fx User: postgres
7 1,208 31m43s 1s25ms 10s80ms 1s575ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968685, '2021-07-26 23:00:00'::timestamp without time zone, 1.05515, 1.05529, 1.05469, 1.05473, 985, 0, '2021-07-26 22:31:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968685 AND pricedatetime = '2021-07-26 23:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968685, '2021-07-26 23:15:00'::timestamp without time zone, 1.05472, 1.05491, 1.05468, 1.05471, 513, 0, '2021-07-26 22:31:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968685 AND pricedatetime = '2021-07-26 23:15:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:08 Database: acaweb_fx User: postgres
8 376 10m19s 1s45ms 8s595ms 1s646ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960522, '2021-07-26 00:45', 0.73141, 0.73141, 0.73122, 0.73122, 0, 0, '2021-07-26 03:02');
Date: 2021-07-26 03:02:35 Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960530, '2021-07-26 14:45', 0.85451, 0.85452, 0.85399, 0.85411, 0, 0, '2021-07-26 17:03');
Date: 2021-07-26 17:03:20 Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960539, '2021-07-26 00:45', 1.9727, 1.97363, 1.97256, 1.97302, 0, 0, '2021-07-26 03:04');
Date: 2021-07-26 03:04:15 Database: acaweb_fx User: postgres
9 363 10m14s 1s1ms 6s163ms 1s692ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960587, '2021-07-26 00:30', 0.91996, 0.92019, 0.91993, 0.91993, 0, 0, '2021-07-26 03:05');
Date: 2021-07-26 03:05:18 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960581, '2021-07-26 14:00', 0.64128, 0.6418, 0.641, 0.64157, 0, 0, '2021-07-26 16:33');
Date: 2021-07-26 16:33:19 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960570, '2021-07-26 16:30', 1.68636, 1.68744, 1.6862, 1.68744, 0, 0, '2021-07-26 19:03');
Date: 2021-07-26 19:03:20 Database: acaweb_fx User: postgres
10 310 8m10s 1s76ms 5s855ms 1s581ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977020, '2021-07-26 23:15:00'::timestamp without time zone, 15636, 15646, 15634, 15646, 58, 0, '2021-07-26 22:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 977020 AND pricedatetime = '2021-07-26 23:15:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:07 Database: acaweb_fx User: postgres
11 2 7m31s 1s628ms 7m30s 3m45s select cleanupautochartistresults (?, ?, ?);-
select cleanupautochartistresults (30, 3, 30);
Date: 2021-07-26 22:25:57 Database: acaweb_fx User: postgres
-
select cleanupautochartistresults (360, 3, 1440);
Date: 2021-07-26 02:03:44 Database: acaweb_fx User: postgres
-
select cleanupautochartistresults (60, 10, 60);
Date: 2021-07-26 22:10:34 Database: acaweb_fx User: postgres
12 238 6m24s 1s415ms 4s743ms 1s617ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002017, '2021-07-26 16:00:00'::timestamp without time zone, 35149, 35172, 35145, 35148, 1102, 0, '2021-07-26 22:31:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1002017 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:11 Database: acaweb_fx User: postgres
13 219 6m12s 1s5ms 3s538ms 1s701ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960614, '2021-07-26 00:00', 152.071, 152.084, 151.814, 151.841, 0, 0, '2021-07-26 03:04');
Date: 2021-07-26 03:04:10 Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960626, '2021-07-25 22:00', 110.547, 110.559, 110.533, 110.542, 0, 0, '2021-07-26 01:05');
Date: 2021-07-26 01:05:16 Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960608, '2021-07-26 01:00', 1.68872, 1.69003, 1.68811, 1.68869, 0, 0, '2021-07-26 04:03');
Date: 2021-07-26 04:03:23 Database: acaweb_fx User: postgres
14 109 3m8s 1s50ms 4s605ms 1s725ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1019816, '2021-07-26 20:00:00'::timestamp without time zone, 34996, 35023, 34990, 35013, 825, 0, '2021-07-26 21:01:22'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1019816 AND pricedatetime = '2021-07-26 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:01:24 Database: acaweb_fx User: postgres
15 11 2m56s 14s757ms 27s145ms 16s22ms select extract(epoch from datetimeupdate) from latest_candle_datetime_per_receng where recognitionengine ilike ?;-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 1';
Date: 2021-07-26 02:03:25 Database: acaweb_fx User: postgres
-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'GIVCAPITAL - 1';
Date: 2021-07-26 03:47:53 Database: acaweb_fx User: postgres
-
SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'ATFX - 1';
Date: 2021-07-26 03:17:53 Database: acaweb_fx User: postgres
16 90 2m22s 1s98ms 3s282ms 1s586ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023129, '2021-07-26 23:00:00'::timestamp without time zone, 4422, 4423.7, 4421.7, 4423.5, 190, 0, '2021-07-26 22:31:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023129 AND pricedatetime = '2021-07-26 23:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:35 Database: acaweb_fx User: postgres
17 89 2m22s 1s240ms 9s325ms 1s596ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 961606, '2021-07-26 21:15:00'::timestamp without time zone, 659.32, 659.62, 658, 659.22, 1304, 0, '2021-07-26 21:32:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 961606 AND pricedatetime = '2021-07-26 21:15:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:17 Database: acaweb_fx User: postgres
18 79 2m7s 1s15ms 3s817ms 1s613ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 961255, '2021-07-23 00:00:00'::timestamp without time zone, 3642.01, 3665.71, 3623.21, 3655.09, 15734, 0, '2021-07-26 15:46:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 961255 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:46:09 Database: acaweb_fx User: postgres
19 83 2m6s 1s36ms 2s740ms 1s521ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982741, '2021-07-26 22:00:00'::timestamp without time zone, 6583, 6589.2, 6582.5, 6587.7, 217, 0, '2021-07-26 21:31:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982741 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:37 Database: acaweb_fx User: postgres
20 80 2m3s 1s87ms 3s930ms 1s543ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1011066, '2021-07-26 22:15:00'::timestamp without time zone, 742.8, 743, 742.6, 742.9, 42, 0, '2021-07-26 21:31:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1011066 AND pricedatetime = '2021-07-26 22:15:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:03 Database: acaweb_fx User: postgres
21 75 1m55s 1s125ms 2s911ms 1s543ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 987911, '2021-07-26 22:00:00'::timestamp without time zone, 12052.7, 12056.4, 12052, 12054.9, 383, 0, '2021-07-26 22:31:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 987911 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:13 Database: acaweb_fx User: postgres
22 79 1m54s 1s288ms 2s705ms 1s454ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975960, '2021-07-26 23:15:00'::timestamp without time zone, 71.96, 72.03, 71.96, 72, 60, 0, '2021-07-26 22:32:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975960 AND pricedatetime = '2021-07-26 23:15:00'::timestamp without time zone); ;
Date: 2021-07-26 22:32:17 Database: acaweb_fx User: postgres
23 65 1m42s 1s18ms 3s441ms 1s581ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920804, '2021-07-26 16:00:00'::timestamp without time zone, 1067.1, 1068, 1066.6, 1066.6, 55, 0, '2021-07-26 22:31:22'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 920804 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:31:23 Database: acaweb_fx User: postgres
24 58 1m32s 1s35ms 10s715ms 1s601ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975941, '2021-07-26 22:00:00'::timestamp without time zone, 4100.5, 4103.55, 4100.5, 4103, 308, 0, '2021-07-26 21:31:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975941 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:33 Database: acaweb_fx User: postgres
25 44 1m17s 1s313ms 3s406ms 1s753ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023626, '2021-07-26 12:00:00'::timestamp without time zone, 391.82, 392, 390.59, 390.77, 118059, 0, '2021-07-26 19:01:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1023626 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:05 Database: acaweb_fx User: postgres
26 41 1m16s 1s468ms 3s329ms 1s857ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975947, '2021-07-26 19:00:00'::timestamp without time zone, 15614, 15617.5, 15599.5, 15602.5, 1450, 0, '2021-07-26 19:02:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 975947 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:02:22 Database: acaweb_fx User: postgres
27 46 1m6s 1s87ms 3s267ms 1s445ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing; ;-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, - 1, 1, '2021-07-26 17:00:48'::timestamp without time zone, '2021-07-26 19:45:00', 0.087499999999999855670000000000, 4, 115, 28.179999999999999720000000000000, '2021-07-23 18:00:00', '2021-07-21 20:30:00', '2021-07-21 18:45:00', '2021-07-20 17:00:00', '', '', '', '', '', '', 205, 28.201250000000001700000000000000, '2021-07-26 19:45:00'::timestamp without time zone, '2021-07-26 19:45:00', 28.094999999999998860000000000000, 0.035250000000000100700000000000, 1, 1016832, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1016832|28.18|1|2021-07-26 19:45:00|2021-07-26 19:45:00|1|-1', 28.059249999999998690000000000000, 0.120750000000001023200000000000, 2, '2021-07-20 17:00:00', 28.045000000000001700000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1016832|28.18|1|2021-07-26 19:45:00|2021-07-26 19:45:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 19:01:15 Database: acaweb_fx User: postgres
28 36 1m4s 1s108ms 3s827ms 1s803ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 961318, '2021-07-26 20:00:00'::timestamp without time zone, 177.02, 178.15, 177, 178.13, 1754, 0, '2021-07-26 21:01:38'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 961318 AND pricedatetime = '2021-07-26 20:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:01:39 Database: acaweb_fx User: postgres
29 39 1m2s 1s107ms 4s971ms 1s610ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023701, '2021-07-26 14:00:00'::timestamp without time zone, 163.2, 163.47, 162.75, 163, 521447, 0, '2021-07-26 21:00:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1023701 AND pricedatetime = '2021-07-26 14:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:00:14 Database: acaweb_fx User: postgres
30 36 59s607ms 1s392ms 3s189ms 1s655ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986845, '2021-07-26 20:15:00'::timestamp without time zone, 8756, 8760.8, 8756, 8758.3, 105, 0, '2021-07-26 19:31:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 986845 AND pricedatetime = '2021-07-26 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 19:31:19 Database: acaweb_fx User: postgres
31 33 52s402ms 1s115ms 3s341ms 1s587ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959879, '2021-07-26 12:00:00'::timestamp without time zone, 7318, 7334, 7308, 7330, 1841, 0, '2021-07-26 22:16:14'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 959879 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:16:15 Database: acaweb_fx User: postgres
32 34 49s523ms 1s6ms 4s603ms 1s456ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960644, '2021-07-26 08:00', 0.85643, 0.85679, 0.85466, 0.85482, 0, 0, '2021-07-26 14:03');
Date: 2021-07-26 14:03:20 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960645, '2021-07-26 08:00', 129.859, 130.154, 129.676, 130.063, 0, 0, '2021-07-26 14:03');
Date: 2021-07-26 14:03:27 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960636, '2021-07-26 08:00', 0.73004, 0.73167, 0.72931, 0.73102, 0, 0, '2021-07-26 14:02');
Date: 2021-07-26 14:02:37 Database: acaweb_fx User: postgres
33 33 49s397ms 1s330ms 3s75ms 1s496ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022879, '2021-07-26 22:30:00'::timestamp without time zone, 4105.5, 4105.5, 4104, 4104, 36, 0, '2021-07-26 21:46:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1022879 AND pricedatetime = '2021-07-26 22:30:00'::timestamp without time zone); ;
Date: 2021-07-26 21:46:27 Database: acaweb_fx User: postgres
34 26 47s871ms 1s425ms 6s840ms 1s841ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919533, '2021-07-26 15:30:00'::timestamp without time zone, 1797, 1798, 1796.8, 1797.8, 1008, 0, '2021-07-26 21:46:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 919533 AND pricedatetime = '2021-07-26 15:30:00'::timestamp without time zone); ;
Date: 2021-07-26 21:46:27 Database: acaweb_fx User: postgres
35 27 42s646ms 1s101ms 2s908ms 1s579ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968576, '2021-07-26 17:00:00'::timestamp without time zone, 868.87, 868.957, 868.826, 868.913, 8, 0, '2021-07-26 17:02:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 968576 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968576, '2021-07-26 17:30:00'::timestamp without time zone, 868.565, 868.957, 868.565, 868.652, 9, 0, '2021-07-26 17:02:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 968576 AND pricedatetime = '2021-07-26 17:30:00'::timestamp without time zone); ;
Date: 2021-07-26 17:02:22 Database: acaweb_fx User: postgres
36 4 41s508ms 8s210ms 23s955ms 10s377ms select recognitionengine, to_char(datetimeupdate, ?) from latest_candle_datetime_per_receng;-
select recognitionengine, to_char(datetimeupdate, 'yyyy-mm-dd HH24:MI') from latest_candle_datetime_per_receng;
Date: 2021-07-26 21:47:10 Database: acaweb_fx User: postgres
37 23 39s492ms 1s493ms 3s154ms 1s717ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 987910, '2021-07-26 21:15:00'::timestamp without time zone, 12046.7, 12049, 12045.5, 12048, 323, 0, '2021-07-26 21:32:28'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 987910 AND pricedatetime = '2021-07-26 21:15:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:30 Database: acaweb_fx User: postgres
38 23 38s727ms 1s192ms 2s738ms 1s683ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975925, '2021-07-26 23:15:00'::timestamp without time zone, 35146.5, 35150, 35139, 35143, 205, 0, '2021-07-26 22:32:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975925 AND pricedatetime = '2021-07-26 23:15:00'::timestamp without time zone); ;
Date: 2021-07-26 22:32:08 Database: acaweb_fx User: postgres
39 22 37s645ms 1s496ms 4s50ms 1s711ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986861, '2021-07-26 22:00:00'::timestamp without time zone, 25309, 25329, 25309, 25326.5, 17, 0, '2021-07-26 21:32:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 986861 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:33 Database: acaweb_fx User: postgres
40 24 37s104ms 1s24ms 2s450ms 1s546ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975945, '2021-07-26 22:15:00'::timestamp without time zone, 15626, 15631.5, 15623.5, 15630, 240, 0, '2021-07-26 21:31:29'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975945 AND pricedatetime = '2021-07-26 22:15:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:30 Database: acaweb_fx User: postgres
41 23 36s970ms 1s82ms 5s588ms 1s607ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975946, '2021-07-26 22:00:00'::timestamp without time zone, 15621, 15631.5, 15618.5, 15630, 492, 0, '2021-07-26 21:31:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975946 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:31 Database: acaweb_fx User: postgres
42 26 36s748ms 1s93ms 2s223ms 1s413ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 961602, '2021-07-26 19:00:00'::timestamp without time zone, 149.24, 149.4, 149, 149, 366, 0, '2021-07-26 19:32:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 961602 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:32:33 Database: acaweb_fx User: postgres
43 19 34s797ms 1s449ms 3s898ms 1s831ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023799, '2021-07-26 08:30:00'::timestamp without time zone, 2035, 2037, 2033, 2036, 50556, 0, '2021-07-26 15:02:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023799 AND pricedatetime = '2021-07-26 08:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023799, '2021-07-26 08:45:00'::timestamp without time zone, 2037, 2037, 2034, 2035, 50609, 0, '2021-07-26 15:02:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023799 AND pricedatetime = '2021-07-26 08:45:00'::timestamp without time zone); ;
Date: 2021-07-26 15:02:12 Database: acaweb_fx User: postgres
44 20 33s716ms 1s194ms 2s907ms 1s685ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 999581, '2021-07-26 21:00:00'::timestamp without time zone, 39719.8, 40542, 39561, 40273.3, 30205, 0, '2021-07-26 21:31:24'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 999581 AND pricedatetime = '2021-07-26 21:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:25 Database: acaweb_fx User: postgres
45 22 32s634ms 1s158ms 2s445ms 1s483ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975961, '2021-07-26 22:00:00'::timestamp without time zone, 72, 72, 71.85, 71.9, 231, 0, '2021-07-26 21:32:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975961 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:37 Database: acaweb_fx User: postgres
46 20 29s636ms 1s386ms 3s278ms 1s481ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986860, '2021-07-26 22:15:00'::timestamp without time zone, 25314, 25329, 25314, 25326.5, 9, 0, '2021-07-26 21:32:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 986860 AND pricedatetime = '2021-07-26 22:15:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:32 Database: acaweb_fx User: postgres
47 19 29s564ms 1s64ms 3s92ms 1s556ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983391, '2021-07-26 22:00:00'::timestamp without time zone, 3695, 3698.61, 3685, 3686.39, 970, 0, '2021-07-26 21:31:03'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 983391 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:31:04 Database: acaweb_fx User: postgres
48 19 27s685ms 1s222ms 2s673ms 1s457ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) select distinct ?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing; ;-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '961791-1|44403.4375|44403.875|44403.0208|44403.6771|9.7293|9.6413|9.6219|9.6112', 961791, 3.000000000000000000000000000000, 'Falling Wedge', 4, '2021-07-26 19:32:47'::timestamp without time zone, - 1, 0.046999726217333642760000000000, - 1.000000000000000000000000000000, 0.000000000000000000000000000000, 0.860700675691763672500000000000, 0.671540882921756066000000000000, 9.597947196459102770000000000000, 9.619444665191293709000000000000, '2021-07-26 21:15:00'::timestamp without time zone, '2021-07-27 07:37:30'::timestamp without time zone, '2021-07-26 00:30:00'::timestamp without time zone, '2021-07-26 21:15:00'::timestamp without time zone, 9.651400000000000645000000000000, 9.634000000000000341000000000000, '2021-07-26 10:30:00'::timestamp without time zone, '2021-07-26 21:00:00'::timestamp without time zone, '2021-07-26 00:30:00'::timestamp without time zone, '2021-07-26 16:15:00'::timestamp without time zone, 9.729300000000000281000000000000, 9.641299999999999315000000000000, 9.621900000000000119000000000000, 9.611200000000000188000000000000, - 0.000169841269841268771000000000, - 0.002095238095238118308000000000, 1.400455571383994124000000000000, 0.285946644482442002800000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 21:15:00'::timestamp without time zone, 9.634800000000000253000000000000, 83, 0, 0.068749999999999644730000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-26 10:30:00'::timestamp without time zone and resx1 = '2021-07-26 21:00:00'::timestamp without time zone and supportx0 = '2021-07-26 00:30:00'::timestamp without time zone and supportx1 = '2021-07-26 16:15:00'::timestamp without time zone and resy0 = 9.729300000000000281000000000000 and resy1 = 9.641299999999999315000000000000 and supporty0 = 9.621900000000000119000000000000 and supporty1 = 9.611200000000000188000000000000 and symbolid = 961791) or resultid = '961791-1|44403.4375|44403.875|44403.0208|44403.6771|9.7293|9.6413|9.6219|9.6112') LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 21:33:14 Database: acaweb_fx User: postgres
49 19 27s616ms 2s62ms 2s462ms 1s453ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975940, '2021-07-26 20:15:00'::timestamp without time zone, 4096.05, 4099, 4096, 4097.5, 201, 0, '2021-07-26 19:31:22'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975940 AND pricedatetime = '2021-07-26 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 19:31:25 Database: acaweb_fx User: postgres
50 17 24s493ms 1s75ms 2s86ms 1s440ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977010, '2021-07-26 21:30:00'::timestamp without time zone, 27930, 27940, 27922.5, 27930, 150, 0, '2021-07-26 20:46:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 977010 AND pricedatetime = '2021-07-26 21:30:00'::timestamp without time zone); ;
Date: 2021-07-26 20:46:43 Database: acaweb_fx User: postgres
51 15 24s409ms 1s241ms 2s333ms 1s627ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977011, '2021-07-26 23:00:00'::timestamp without time zone, 27957.5, 27975, 27940, 27955, 130, 0, '2021-07-26 22:32:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 977011 AND pricedatetime = '2021-07-26 23:00:00'::timestamp without time zone); ;
Date: 2021-07-26 22:32:13 Database: acaweb_fx User: postgres
52 16 24s185ms 1s552ms 2s672ms 1s511ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002038, '2021-07-26 12:00:00'::timestamp without time zone, 4099.5, 4100.5, 4095, 4095, 1303, 0, '2021-07-26 19:01:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1002038 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:10 Database: acaweb_fx User: postgres
53 16 23s747ms 1s40ms 2s340ms 1s484ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982738, '2021-07-26 16:00:00'::timestamp without time zone, 4096, 4105.5, 4094.7, 4097.2, 2331, 0, '2021-07-26 19:04:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 982738 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:04:02 Database: acaweb_fx User: postgres
54 15 23s464ms 1s246ms 2s952ms 1s564ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020606, '2021-07-26 16:00:00'::timestamp without time zone, 15098, 15120, 15081.25, 15090.5, 4766, 0, '2021-07-26 17:02:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1020606 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 17:02:57 Database: acaweb_fx User: postgres
55 13 22s894ms 1s282ms 2s585ms 1s761ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975926, '2021-07-26 22:00:00'::timestamp without time zone, 35127, 35139, 35113.5, 35134, 2332, 0, '2021-07-26 21:32:24'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975926 AND pricedatetime = '2021-07-26 22:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:26 Database: acaweb_fx User: postgres
56 13 21s836ms 1s111ms 3s114ms 1s679ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982743, '2021-07-26 16:00:00'::timestamp without time zone, 6565.5, 6588, 6564.2, 6573.2, 8856, 0, '2021-07-26 19:04:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 982743 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:04:07 Database: acaweb_fx User: postgres
57 12 20s611ms 1s309ms 3s496ms 1s717ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982797, '2021-07-26 19:00:00'::timestamp without time zone, 2404, 2412.7, 2404, 2407.4, 245, 0, '2021-07-26 19:01:56'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 982797 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:58 Database: acaweb_fx User: postgres
58 13 20s457ms 1s375ms 2s79ms 1s573ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 987911, '2021-07-26 21:00:00'::timestamp without time zone, 12048.5, 12049, 12044.7, 12048, 593, 0, '2021-07-26 21:32:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 987911 AND pricedatetime = '2021-07-26 21:00:00'::timestamp without time zone); ;
Date: 2021-07-26 21:32:31 Database: acaweb_fx User: postgres
59 14 20s281ms 1s380ms 1s918ms 1s448ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975940, '2021-07-26 19:45:00'::timestamp without time zone, 4096, 4096.6, 4095, 4095, 337, 0, '2021-07-26 19:02:24'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 975940 AND pricedatetime = '2021-07-26 19:45:00'::timestamp without time zone); ;
Date: 2021-07-26 19:02:25 Database: acaweb_fx User: postgres
60 12 18s714ms 2s356ms 2s356ms 1s559ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022880, '2021-07-26 19:30:00'::timestamp without time zone, 4099, 4099.5, 4097, 4097, 109, 0, '2021-07-26 19:02:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1022880 AND pricedatetime = '2021-07-26 19:30:00'::timestamp without time zone); ;
Date: 2021-07-26 19:02:58 Database: acaweb_fx User: postgres
61 10 14s893ms 1s22ms 2s434ms 1s489ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022771, '2021-07-26 19:00:00'::timestamp without time zone, 742, 742.1, 740.8, 741, 376, 0, '2021-07-26 19:01:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1022771 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:07 Database: acaweb_fx User: postgres
62 7 14s734ms 2s68ms 2s489ms 2s104ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983393, '2021-07-26 16:00:00'::timestamp without time zone, 3663.76, 3711.13, 3645, 3698.1, 8972, 0, '2021-07-26 19:01:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 983393 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:36 Database: acaweb_fx User: postgres
63 7 14s545ms 1s206ms 6s150ms 2s77ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023132, '2021-07-26 16:00:00'::timestamp without time zone, 4398.7, 4420.2, 4398, 4414, 6939, 0, '2021-07-26 19:04:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1023132 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:04:10 Database: acaweb_fx User: postgres
64 11 14s392ms 1s3ms 2s587ms 1s308ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?.?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960681, '2021-07-25 00:00', 1.08261, 1.08282, 1.08247, 1.08256, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:21 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960668, '2021-07-25 00:00', 0.92519, 0.92603, 0.92519, 0.92603, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:03 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960682, '2021-07-25 00:00', 0.85568, 0.85577, 0.85532, 0.85573, 0, 0, '2021-07-26 02:03');
Date: 2021-07-26 02:03:31 Database: acaweb_fx User: postgres
65 8 13s672ms 1s70ms 2s250ms 1s709ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026427, '2021-07-23 20:00:00'::timestamp without time zone, 0.85519, 0.85624, 0.85513, 0.85595, 4639, 0, '2021-07-26 03:46:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1026427 AND pricedatetime = '2021-07-23 20:00:00'::timestamp without time zone); INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026427, '2021-07-26 00:00:00'::timestamp without time zone, 0.8549, 0.85604, 0.85438, 0.85574, 4975, 0, '2021-07-26 03:46:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1026427 AND pricedatetime = '2021-07-26 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:46:06 Database: acaweb_fx User: postgres
66 8 13s572ms 2s142ms 2s243ms 1s696ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1003098, '2021-07-26 17:00:00'::timestamp without time zone, 8767, 8779, 8745, 8755.4, 1183, 0, '2021-07-26 17:04:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1003098 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone); ;
Date: 2021-07-26 17:04:34 Database: acaweb_fx User: postgres
67 8 13s570ms 1s69ms 2s667ms 1s696ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026426, '2021-07-23 23:00:00'::timestamp without time zone, 0.85601, 0.85624, 0.8558, 0.85595, 1499, 0, '2021-07-26 03:46:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026426 AND pricedatetime = '2021-07-23 23:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026426, '2021-07-26 00:00:00'::timestamp without time zone, 0.8549, 0.85553, 0.85438, 0.85516, 1097, 0, '2021-07-26 03:46:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026426 AND pricedatetime = '2021-07-26 00:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026426, '2021-07-26 01:00:00'::timestamp without time zone, 0.85518, 0.85566, 0.85503, 0.85553, 1112, 0, '2021-07-26 03:46:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026426 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026426, '2021-07-26 02:00:00'::timestamp without time zone, 0.85553, 0.85568, 0.8554, 0.85562, 773, 0, '2021-07-26 03:46:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026426 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026426, '2021-07-26 03:00:00'::timestamp without time zone, 0.85561, 0.85604, 0.85558, 0.85574, 1993, 0, '2021-07-26 03:46:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026426 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:46:04 Database: acaweb_fx User: postgres
68 8 13s156ms 2s589ms 2s800ms 1s644ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023746, '2021-07-26 08:00:00'::timestamp without time zone, 1402.4, 1403, 1401.4, 1402, 74952, 0, '2021-07-26 15:01:35'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1023746 AND pricedatetime = '2021-07-26 08:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:01:38 Database: acaweb_fx User: postgres
69 8 13s 1s365ms 2s589ms 1s625ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023776, '2021-07-26 10:00:00'::timestamp without time zone, 1366.5, 1373, 1360, 1361.249, 415156, 0, '2021-07-26 17:05:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1023776 AND pricedatetime = '2021-07-26 10:00:00'::timestamp without time zone); ;
Date: 2021-07-26 17:05:34 Database: acaweb_fx User: postgres
70 9 12s936ms 1s734ms 1s792ms 1s437ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022881, '2021-07-26 19:00:00'::timestamp without time zone, 4102, 4102.5, 4097, 4097, 180, 0, '2021-07-26 19:02:58'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1022881 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:02:59 Database: acaweb_fx User: postgres
71 7 12s523ms 1s106ms 2s477ms 1s789ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977012, '2021-07-26 19:00:00'::timestamp without time zone, 27927.5, 27930, 27880, 27900, 623, 0, '2021-07-26 19:04:18'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 977012 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:04:19 Database: acaweb_fx User: postgres
72 8 12s176ms 2s56ms 2s266ms 1s522ms insert into fibonacci_results (bandwidth, pattern, gmttimefound, direction, patternstarttime, patternendtime, patternstartprice, patternendprice, qtytp, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, patternlengthbars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) select distinct ?.?, ?, ?::timestamp without time zone, ?, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?, ?, ?, ?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from fibonacci_results where pattern ilike ? and direction = ? and patternstarttime = ?::timestamp without time zone and patternstartprice = ?.? and qtytp = ? and patternlengthbars = ? and ratiosfound = ? and temporarypattern = ? and symbolid = ? and timex = ?::timestamp without time zone and timea = ?::timestamp without time zone and timeb = ?::timestamp without time zone and timec = ?::timestamp without time zone and timed = ?::timestamp without time zone) limit ? on conflict do nothing; ;-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000000000000000000000000000, 'ABCD', '2021-07-26 16:34:51'::timestamp without time zone, 1, '2021-07-23 22:00:00'::timestamp without time zone, '2021-07-26 19:15:00'::timestamp without time zone, 55.070000000000000280000000000000, - 1.000000000000000000000000000000, 4, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 55.515000000000000570000000000000, '2021-07-26 16:30:00'::timestamp without time zone, 55.130000000000002560000000000000, '2021-07-26 17:00:00'::timestamp without time zone, 55.439999999999997720000000000000, '2021-07-26 18:00:00'::timestamp without time zone, 55.054999999999999720000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.669836956521742688000000000000, - 1.000000000000000000000000000000, 2.010227642084981614000000000000, 8, 55.439999999999997720000000000000, 55.292943085649497450000000000000, 55.677943085649495460000000000000, 55.357668280452998040000000000000, 55.544727565057499420000000000000, 55.247500000000002280000000000000, 55.202056914350500000000000000000, 1029191, 0.660326086956514624000000000000, 'BC=0.786*AB (0.805) ', 0, 'ABCD|1|2021-07-23 22:00:00|55.07|-1|4|8|BC=0.786*AB (0.805)|0|1029191|1899-12-29 00:00:00|2021-07-26 16:30:00|2021-07-26 17:00:00|2021-07-26 18:00:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'ABCD' AND direction = 1 AND patternstarttime = '2021-07-23 22:00:00'::timestamp without time zone AND patternstartprice = 55.070000000000000280000000000000 AND qtytp = 4 AND patternlengthbars = 8 AND ratiosfound = 'BC=0.786*AB (0.805) ' AND temporarypattern = 0 AND symbolid = 1029191 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '2021-07-26 16:30:00'::timestamp without time zone AND timeb = '2021-07-26 17:00:00'::timestamp without time zone AND timec = '2021-07-26 18:00:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 18:35:19 Database: acaweb_fx User: postgres
73 8 11s959ms 1s138ms 2s70ms 1s494ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1011069, '2021-07-26 16:00:00'::timestamp without time zone, 742.4, 743.7, 740.6, 741, 3361, 0, '2021-07-26 19:01:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1011069 AND pricedatetime = '2021-07-26 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:01:06 Database: acaweb_fx User: postgres
74 7 11s732ms 1s49ms 2s339ms 1s676ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-23 23:45:00'::timestamp without time zone, 130.102, 130.112, 130.085, 130.093, 301, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-23 23:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 00:00:00'::timestamp without time zone, 130.055, 130.092, 129.991, 130.036, 139, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 00:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 00:15:00'::timestamp without time zone, 130.02, 130.087, 130.02, 130.082, 172, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 00:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 00:30:00'::timestamp without time zone, 130.076, 130.09, 130.044, 130.045, 81, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 00:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 00:45:00'::timestamp without time zone, 130.045, 130.077, 130.031, 130.064, 176, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 00:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 01:00:00'::timestamp without time zone, 130.084, 130.135, 130.058, 130.128, 639, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 01:15:00'::timestamp without time zone, 130.128, 130.153, 130.116, 130.134, 250, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 01:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 01:30:00'::timestamp without time zone, 130.136, 130.151, 130.116, 130.151, 272, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 01:45:00'::timestamp without time zone, 130.152, 130.158, 130.136, 130.14, 176, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 01:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 02:00:00'::timestamp without time zone, 130.139, 130.146, 130.125, 130.141, 234, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 02:15:00'::timestamp without time zone, 130.141, 130.15, 130.115, 130.116, 377, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 02:30:00'::timestamp without time zone, 130.117, 130.122, 130.092, 130.105, 672, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 02:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 02:45:00'::timestamp without time zone, 130.102, 130.155, 130.095, 130.132, 1148, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 03:00:00'::timestamp without time zone, 130.132, 130.137, 130.073, 130.134, 1400, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 03:15:00'::timestamp without time zone, 130.133, 130.137, 130.07, 130.071, 931, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 03:30:00'::timestamp without time zone, 130.074, 130.089, 130.031, 130.043, 691, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 03:45:00'::timestamp without time zone, 130.042, 130.045, 129.939, 129.948, 1162, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 03:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 04:00:00'::timestamp without time zone, 129.947, 129.95, 129.881, 129.883, 986, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 04:15:00'::timestamp without time zone, 129.884, 129.933, 129.861, 129.913, 1269, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 04:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026429, '2021-07-26 04:30:00'::timestamp without time zone, 129.912, 129.953, 129.9, 129.939, 1101, 0, '2021-07-26 03:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026429 AND pricedatetime = '2021-07-26 04:30:00'::timestamp without time zone); ;
Date: 2021-07-26 03:46:23 Database: acaweb_fx User: postgres
75 7 11s665ms 1s268ms 2s445ms 1s666ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-23 23:30:00'::timestamp without time zone, 359.985, 360.156, 359.418, 360.066, 496, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-23 23:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 00:00:00'::timestamp without time zone, 359.776, 359.777, 359.156, 359.276, 119, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 00:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 00:30:00'::timestamp without time zone, 359.202, 359.388, 359.072, 359.121, 66, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 00:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 01:00:00'::timestamp without time zone, 359.26, 359.769, 359.26, 359.409, 468, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 01:30:00'::timestamp without time zone, 359.559, 359.865, 359.375, 359.702, 159, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 02:00:00'::timestamp without time zone, 359.643, 359.761, 359.37, 359.75, 710, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 02:30:00'::timestamp without time zone, 359.816, 359.949, 359.363, 359.864, 101, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 02:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 03:00:00'::timestamp without time zone, 359.862, 360.059, 359.51, 360.019, 727, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 03:30:00'::timestamp without time zone, 360.023, 360.09, 359.699, 360.03, 427, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026485, '2021-07-26 04:00:00'::timestamp without time zone, 360.045, 360.076, 360.02, 360.031, 739, 0, '2021-07-26 03:46:10'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1026485 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:46:13 Database: acaweb_fx User: postgres
76 6 11s450ms 1s980ms 2s113ms 1s908ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1022857, '2021-07-26 12:00:00'::timestamp without time zone, 1605.4, 1634, 1605.4, 1628, 392, 0, '2021-07-26 15:02:51'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1022857 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:02:53 Database: acaweb_fx User: postgres
77 6 10s335ms 1s350ms 2s233ms 1s722ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 20:15:00'::timestamp without time zone, 15607.1, 15609.7, 15596.6, 15609, 607, 0, '2021-07-26 19:46:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 20:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 20:30:00'::timestamp without time zone, 15608.9, 15609.6, 15599.3, 15600.4, 452, 0, '2021-07-26 19:46:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 20:30:00'::timestamp without time zone); ;
Date: 2021-07-26 19:46:14 Database: acaweb_fx User: postgres
78 5 10s236ms 2s797ms 2s797ms 2s47ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1003098, '2021-07-26 19:00:00'::timestamp without time zone, 8759, 8761, 8745.4, 8747, 342, 0, '2021-07-26 19:03:32'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1003098 AND pricedatetime = '2021-07-26 19:00:00'::timestamp without time zone); ;
Date: 2021-07-26 19:03:35 Database: acaweb_fx User: postgres
79 4 10s14ms 1s427ms 3s625ms 2s503ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977006, '2021-07-23 21:30:00'::timestamp without time zone, 27041, 27057, 27028, 27056, 217, 0, '2021-07-26 03:32:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 977006 AND pricedatetime = '2021-07-23 21:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 977006, '2021-07-26 04:00:00'::timestamp without time zone, 26888, 26898, 26760, 26766, 1178, 0, '2021-07-26 03:32:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 977006 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:32:28 Database: acaweb_fx User: postgres
80 6 8s791ms 1s297ms 2s499ms 1s465ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 18:30:00'::timestamp without time zone, 15608, 15625.2, 15605.9, 15620.5, 862, 0, '2021-07-26 18:01:43'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 18:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 18:45:00'::timestamp without time zone, 15621.2, 15621.7, 15610.9, 15614.4, 720, 0, '2021-07-26 18:01:43'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 18:45:00'::timestamp without time zone); ;
Date: 2021-07-26 18:01:45 Database: acaweb_fx User: postgres
81 6 8s786ms 1s150ms 2s301ms 1s464ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959880, '2021-07-25 00:00:00'::timestamp without time zone, 7341, 7341, 7302, 7305, 9740, 0, '2021-07-26 06:16:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 959880 AND pricedatetime = '2021-07-25 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 06:16:14 Database: acaweb_fx User: postgres
82 5 8s406ms 2s532ms 2s532ms 1s681ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 14:00:00'::timestamp without time zone, 15592.6, 15601.6, 15589.8, 15594.8, 506, 0, '2021-07-26 13:32:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 14:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 14:15:00'::timestamp without time zone, 15595.3, 15603.3, 15591.3, 15599, 488, 0, '2021-07-26 13:32:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 14:15:00'::timestamp without time zone); ;
Date: 2021-07-26 13:32:07 Database: acaweb_fx User: postgres
83 5 8s367ms 1s398ms 2s311ms 1s673ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975948, '2021-07-26 12:00:00'::timestamp without time zone, 15570, 15636.5, 15566, 15606.5, 9203, 0, '2021-07-26 15:02:33'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 975948 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:02:36 Database: acaweb_fx User: postgres
84 6 7s826ms 1s72ms 1s697ms 1s304ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 972919, '2021-07-25 00:00:00'::timestamp without time zone, 72, 72.17, 71.3, 71.33, 90375, 0, '2021-07-26 06:01:38'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 972919 AND pricedatetime = '2021-07-25 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 06:01:39 Database: acaweb_fx User: postgres
85 4 7s163ms 1s798ms 2s28ms 1s790ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026639, '2021-07-26 17:30:00'::timestamp without time zone, 4408.4, 4410.4, 4405.3, 4408.6, 1190, 0, '2021-07-26 17:05:39'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026639 AND pricedatetime = '2021-07-26 17:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026639, '2021-07-26 17:45:00'::timestamp without time zone, 4408.4, 4412.1, 4407, 4409.5, 1412, 0, '2021-07-26 17:05:39'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026639 AND pricedatetime = '2021-07-26 17:45:00'::timestamp without time zone); ;
Date: 2021-07-26 17:05:41 Database: acaweb_fx User: postgres
86 4 7s13ms 2s794ms 2s794ms 1s753ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983385, '2021-07-23 22:45:00'::timestamp without time zone, 206, 206.39, 206, 206.29, 682, 0, '2021-07-26 15:46:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983385 AND pricedatetime = '2021-07-23 22:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983385, '2021-07-26 16:30:00'::timestamp without time zone, 198.14, 198.14, 194.73, 195.89, 3114, 0, '2021-07-26 15:46:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983385 AND pricedatetime = '2021-07-26 16:30:00'::timestamp without time zone); ;
Date: 2021-07-26 15:46:15 Database: acaweb_fx User: postgres
87 7 7s1ms 1s 1s 1s select updateresultsmaterializedview ();-
select updateresultsmaterializedview ();
Date: 2021-07-26 01:55:54 Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 00:14:27 Database: acaweb_fx User: postgres
-
select updateresultsmaterializedview ();
Date: 2021-07-26 04:04:43 Database: acaweb_fx User: postgres
88 4 5s692ms 1s545ms 1s545ms 1s423ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 12:30:00'::timestamp without time zone, 2686.5, 2689.5, 2673.5, 2673.5, 40, 0, '2021-07-26 19:03:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 12:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 12:45:00'::timestamp without time zone, 2676, 2681.5, 2672.5, 2680.5, 44, 0, '2021-07-26 19:03:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 12:45:00'::timestamp without time zone); ;
Date: 2021-07-26 19:03:07 Database: acaweb_fx User: postgres
89 3 5s449ms 1s334ms 2s477ms 1s816ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 20:00:00'::timestamp without time zone, 15602.1, 15609.6, 15598.9, 15609.5, 344, 0, '2021-07-26 19:31:40'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 20:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 20:15:00'::timestamp without time zone, 15608.9, 15616, 15608.9, 15611.1, 323, 0, '2021-07-26 19:31:40'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 19:31:41 Database: acaweb_fx User: postgres
90 3 5s177ms 1s416ms 1s985ms 1s725ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986837, '2021-07-23 23:00:00'::timestamp without time zone, 7420.02, 7422.02, 7419.02, 7420.02, 22, 0, '2021-07-26 02:01:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986837 AND pricedatetime = '2021-07-23 23:00:00'::timestamp without time zone); INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986837, '2021-07-26 02:00:00'::timestamp without time zone, 7422.73, 7422.73, 7408.73, 7409.73, 173, 0, '2021-07-26 02:01:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 986837 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:01:35 Database: acaweb_fx User: postgres
91 2 4s882ms 2s393ms 2s489ms 2s441ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 17:30:00'::timestamp without time zone, 15601.3, 15608.1, 15586, 15603.6, 1051, 0, '2021-07-26 17:03:00'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 17:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 17:45:00'::timestamp without time zone, 15603.7, 15625.9, 15603.7, 15617.5, 1067, 0, '2021-07-26 17:03:00'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 17:45:00'::timestamp without time zone); ;
Date: 2021-07-26 17:03:02 Database: acaweb_fx User: postgres
92 2 4s734ms 3s366ms 3s366ms 2s367ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 918962, '2021-07-25 16:00:00'::timestamp without time zone, 2675, 2680, 2663.5, 2674, 35, 0, '2021-07-26 03:16:29'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 918962 AND pricedatetime = '2021-07-25 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:16:33 Database: acaweb_fx User: postgres
93 1 4s194ms 4s194ms 4s194ms 4s194ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960591, '2021-07-26 19:00', 1797, 1797.7, 1796.88, 1797.32, 0, 0, '2021-07-26 21:33');
Date: 2021-07-26 21:33:18 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960561, '2021-07-25 22:00', 88, 88.005, 87.971, 87.988, 0, 0, '2021-07-26 00:31');
Date: 2021-07-26 00:31:57 Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960591, '2021-07-26 11:30', 1809, 1809.23, 1807.45, 1808.13, 0, 0, '2021-07-26 14:04');
Date: 2021-07-26 14:04:14 Database: acaweb_fx User: postgres
94 2 3s194ms 2s104ms 2s104ms 1s597ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 918962, '2021-07-26 04:00:00'::timestamp without time zone, 2659, 2703, 2656, 2698.5, 215, 0, '2021-07-26 14:02:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 918962 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 14:02:32 Database: acaweb_fx User: postgres
95 2 3s150ms 1s964ms 1s964ms 1s575ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 05:30:00'::timestamp without time zone, 2678, 2683.5, 2678, 2681.5, 20, 0, '2021-07-26 12:01:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 05:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 05:45:00'::timestamp without time zone, 2686.5, 2687, 2684.5, 2684.5, 7, 0, '2021-07-26 12:01:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 05:45:00'::timestamp without time zone); ;
Date: 2021-07-26 12:01:57 Database: acaweb_fx User: postgres
96 2 2s817ms 1s463ms 1s463ms 1s408ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 18:30:00'::timestamp without time zone, 15613.1, 15631.1, 15613, 15618.4, 784, 0, '2021-07-26 18:01:39'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 18:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 18:45:00'::timestamp without time zone, 15620.4, 15627, 15617.9, 15620.1, 651, 0, '2021-07-26 18:01:39'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 18:45:00'::timestamp without time zone); ;
Date: 2021-07-26 18:01:40 Database: acaweb_fx User: postgres
97 2 2s740ms 1s203ms 1s537ms 1s370ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 20:00:00'::timestamp without time zone, 15603.7, 15609.9, 15600, 15607.2, 581, 0, '2021-07-26 19:31:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 20:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 20:15:00'::timestamp without time zone, 15607.1, 15609.7, 15596.6, 15609, 607, 0, '2021-07-26 19:31:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 20:15:00'::timestamp without time zone); ;
Date: 2021-07-26 19:31:38 Database: acaweb_fx User: postgres
98 2 2s636ms 1s235ms 1s401ms 1s318ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021220, '2021-07-23 11:00:00'::timestamp without time zone, 27287.6, 27325.1, 27278.1, 27300.6, 43902, 0, '2021-07-26 03:32:57'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021220 AND pricedatetime = '2021-07-23 11:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021220, '2021-07-26 04:00:00'::timestamp without time zone, 26890.5, 26900.5, 26762.5, 26769, 1178, 0, '2021-07-26 03:32:57'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021220 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:32:59 Database: acaweb_fx User: postgres
99 2 2s582ms 1s24ms 1s558ms 1s291ms select fixcandlegaps (?, false);-
select fixcandlegaps ('XM', false);
Date: 2021-07-26 01:09:22 Database: acaweb_fx User: postgres
-
select fixcandlegaps ('XM', false);
Date: 2021-07-26 02:08:16 Database: acaweb_fx User: postgres
-
select fixcandlegaps ('LEGACYFXMT5', false);
Date: 2021-07-26 01:07:47 Database: acaweb_fx User: postgres
100 2 2s453ms 1s33ms 1s419ms 1s226ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1020612, '2021-07-26 08:00:00'::timestamp without time zone, 4389, 4393.75, 4375, 4392, 3316, 0, '2021-07-26 12:03:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 1020612 AND pricedatetime = '2021-07-26 08:00:00'::timestamp without time zone); ;
Date: 2021-07-26 12:03:09 Database: acaweb_fx User: postgres
101 1 2s408ms 2s408ms 2s408ms 2s408ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975943, '2021-07-26 12:00:00'::timestamp without time zone, 4077.5, 4101, 4077, 4094.5, 8474, 0, '2021-07-26 15:02:42'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 975943 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:02:44 Database: acaweb_fx User: postgres
102 1 2s339ms 2s339ms 2s339ms 2s339ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002036, '2021-07-25 20:30:00'::timestamp without time zone, 4091.2, 4093, 4089, 4091.1, 428, 0, '2021-07-26 03:02:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002036 AND pricedatetime = '2021-07-25 20:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002036, '2021-07-25 20:45:00'::timestamp without time zone, 4091.1, 4095.5, 4089, 4094, 392, 0, '2021-07-26 03:02:07'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1002036 AND pricedatetime = '2021-07-25 20:45:00'::timestamp without time zone); ;
Date: 2021-07-26 03:02:10 Database: acaweb_fx User: postgres
103 1 2s301ms 2s301ms 2s301ms 2s301ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 09:00:00'::timestamp without time zone, 15577.9, 15601.7, 15577.9, 15590.6, 892, 0, '2021-07-26 08:32:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 09:15:00'::timestamp without time zone, 15591, 15593.4, 15576.6, 15583, 839, 0, '2021-07-26 08:32:09'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone); ;
Date: 2021-07-26 08:32:12 Database: acaweb_fx User: postgres
104 2 2s176ms 1s92ms 1s92ms 1s88ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023469, '2021-07-26 10:30:00'::timestamp without time zone, 2765.4, 2776, 2764.42, 2770, 15561, 0, '2021-07-26 17:01:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023469 AND pricedatetime = '2021-07-26 10:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023469, '2021-07-26 10:45:00'::timestamp without time zone, 2768.86, 2769.3, 2764.14, 2765.98, 12224, 0, '2021-07-26 17:01:01'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023469 AND pricedatetime = '2021-07-26 10:45:00'::timestamp without time zone); ;
Date: 2021-07-26 17:01:02 Database: acaweb_fx User: postgres
105 1 2s102ms 2s102ms 2s102ms 2s102ms (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 17:03:36 Database: acaweb_fx User: postgres
106 1 2s21ms 2s21ms 2s21ms 2s21ms insert into fibonacci_results (bandwidth, pattern, gmttimefound, direction, patternstarttime, patternendtime, patternstartprice, patternendprice, qtytp, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, patternlengthbars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) select distinct ?.?, ?, ?::timestamp without time zone, ?, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?, ?, ?, ?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from fibonacci_results where pattern ilike ? and direction = ? and patternstarttime = ?::timestamp without time zone and patternstartprice = ?.? and qtytp = ? and patternlengthbars = ? and ratiosfound = ? and temporarypattern = ? and symbolid = ? and timex = ?::timestamp without time zone and timea = ?::timestamp without time zone and timeb = ?::timestamp without time zone and timec = ?::timestamp without time zone and timed = ?::timestamp without time zone) limit ?; ;-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000, 'ABCD', '2021-07-26 19:32:48'::timestamp without time zone, - 1, '2021-07-26 09:30:00'::timestamp without time zone, '2021-07-26 19:00:00'::timestamp without time zone, 1.978140, - 1.000000, 4, - 1.000000, '1899-12-29 00:00:00'::timestamp without time zone, 1.972050, '2021-07-26 15:30:00'::timestamp without time zone, 1.975920, '2021-07-26 16:00:00'::timestamp without time zone, 1.973610, '2021-07-26 18:30:00'::timestamp without time zone, 1.977480, '1899-12-29 00:00:00'::timestamp without time zone, 0.577622, - 1.000000, 0.564176, 7, 1.973610, 1.975088, 1.971218, 1.974438, 1.972557, 1.975545, 1.976002, 960577, 0.408932, 'BC=0.618*AB (0.597) ', 0, 'ABCD|-1|2021-07-26 09:30:00|1.97814|-1|4|7|BC=0.618*AB (0.597)|0|960577|1899-12-29 00:00:00|2021-07-26 15:30:00|2021-07-26 16:00:00|2021-07-26 18:30:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'ABCD' AND direction = - 1 AND patternstarttime = '2021-07-26 09:30:00'::timestamp without time zone AND patternstartprice = 1.978140 AND qtytp = 4 AND patternlengthbars = 7 AND ratiosfound = 'BC=0.618*AB (0.597) ' AND temporarypattern = 0 AND symbolid = 960577 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '2021-07-26 15:30:00'::timestamp without time zone AND timeb = '2021-07-26 16:00:00'::timestamp without time zone AND timec = '2021-07-26 18:30:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1; ;
Date: 2021-07-26 21:33:17 Database: acaweb_fx User: postgres
107 1 2s20ms 2s20ms 2s20ms 2s20ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026713, '2021-07-23 00:00:00'::timestamp without time zone, 176.49, 179.48, 172.82, 173, 14656, 0, '2021-07-26 15:46:19'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 1026713 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:46:21 Database: acaweb_fx User: postgres
108 1 1s919ms 1s919ms 1s919ms 1s919ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983390, '2021-07-23 22:45:00'::timestamp without time zone, 3655.14, 3657.94, 3650, 3652.88, 609, 0, '2021-07-26 15:46:19'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983390 AND pricedatetime = '2021-07-23 22:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983390, '2021-07-26 16:30:00'::timestamp without time zone, 3663.76, 3675.06, 3645, 3674, 1216, 0, '2021-07-26 15:46:19'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 983390 AND pricedatetime = '2021-07-26 16:30:00'::timestamp without time zone); ;
Date: 2021-07-26 15:46:21 Database: acaweb_fx User: postgres
109 1 1s896ms 1s896ms 1s896ms 1s896ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960599, '2021-07-25 22:00', 88, 88.005, 87.939, 87.939, 0, 0, '2021-07-26 01:02');
Date: 2021-07-26 01:02:51 Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960599, '2021-07-25 22:00', 88, 88.005, 87.939, 87.939, 0, 0, '2021-07-26 01:02');
Date: 2021-07-26 01:02:51 Database: acaweb_fx User: postgres
110 1 1s848ms 1s848ms 1s848ms 1s848ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 983333, '2021-07-26 12:00:00'::timestamp without time zone, 2998.5, 3050, 2994, 3026, 2647, 0, '2021-07-26 15:01:22'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 983333 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); ;
Date: 2021-07-26 15:01:24 Database: acaweb_fx User: postgres
111 1 1s821ms 1s821ms 1s821ms 1s821ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021210, '2021-07-26 02:30:00'::timestamp without time zone, 15663.3, 15666.5, 15656.7, 15662, 222, 0, '2021-07-26 02:31:53'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021210 AND pricedatetime = '2021-07-26 02:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1021210, '2021-07-26 03:00:00'::timestamp without time zone, 15645.5, 15647.6, 15613.1, 15613.6, 303, 0, '2021-07-26 02:31:53'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1021210 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:55 Database: acaweb_fx User: postgres
112 1 1s784ms 1s784ms 1s784ms 1s784ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982416, '2021-07-26 03:30:00'::timestamp without time zone, 27012, 27028.1, 27009, 27024.2, 5908, 0, '2021-07-26 03:32:52'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982416 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982416, '2021-07-26 04:00:00'::timestamp without time zone, 26907.6, 26908.1, 26758.7, 26765.7, 2298, 0, '2021-07-26 03:32:52'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982416 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:32:54 Database: acaweb_fx User: postgres
113 1 1s746ms 1s746ms 1s746ms 1s746ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-23 23:45:00'::timestamp without time zone, 359.789, 360.104, 359.418, 360.066, 104, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-23 23:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 00:00:00'::timestamp without time zone, 359.776, 359.777, 359.156, 359.38, 68, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 00:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 00:15:00'::timestamp without time zone, 359.386, 359.386, 359.164, 359.276, 51, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 00:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 00:30:00'::timestamp without time zone, 359.202, 359.388, 359.072, 359.144, 36, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 00:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 00:45:00'::timestamp without time zone, 359.138, 359.246, 359.079, 359.121, 30, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 00:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 01:00:00'::timestamp without time zone, 359.26, 359.769, 359.26, 359.409, 468, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 01:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 01:30:00'::timestamp without time zone, 359.559, 359.865, 359.375, 359.375, 94, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 01:45:00'::timestamp without time zone, 359.543, 359.725, 359.543, 359.702, 65, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 01:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 02:00:00'::timestamp without time zone, 359.643, 359.733, 359.37, 359.494, 358, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 02:15:00'::timestamp without time zone, 359.615, 359.761, 359.426, 359.75, 352, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 02:30:00'::timestamp without time zone, 359.816, 359.949, 359.363, 359.949, 32, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 02:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 02:45:00'::timestamp without time zone, 359.949, 359.949, 359.383, 359.864, 69, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 02:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 03:00:00'::timestamp without time zone, 359.862, 360.051, 359.51, 360.051, 590, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 03:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 03:15:00'::timestamp without time zone, 360.055, 360.059, 359.563, 360.019, 137, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 03:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 03:30:00'::timestamp without time zone, 360.023, 360.063, 359.987, 360.03, 211, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 03:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 03:45:00'::timestamp without time zone, 360.034, 360.09, 359.699, 360.03, 216, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 03:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 04:00:00'::timestamp without time zone, 360.045, 360.076, 360.03, 360.057, 215, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026484, '2021-07-26 04:15:00'::timestamp without time zone, 360.065, 360.075, 360.02, 360.031, 524, 0, '2021-07-26 03:46:08'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026484 AND pricedatetime = '2021-07-26 04:15:00'::timestamp without time zone); ;
Date: 2021-07-26 03:46:10 Database: acaweb_fx User: postgres
114 1 1s740ms 1s740ms 1s740ms 1s740ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and (((longname ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 49 AND (((longname ilike '%euro vs us dollar%' AND timegranularity <= 1440))) AND breakout >= 0.3 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 40 AND patternquality >= 0.3 AND initialtrend >= 0.1 AND symmetry >= 0.4 AND noise <= 0.8 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517050873 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 00:54:17 Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 49 AND (((longname ilike '%bitcoin / us dollar%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 10:18:34 Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 49 AND (((longname ilike '%gold (spot)%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 06:34:15 Database: acaweb_fx User: postgres Bind query: yes
115 1 1s731ms 1s731ms 1s731ms 1s731ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 14:00:00'::timestamp without time zone, 15510.2, 15521.8, 15509.8, 15513.6, 452, 0, '2021-07-26 13:31:51'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 14:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 14:15:00'::timestamp without time zone, 15513.8, 15520, 15513.8, 15520, 418, 0, '2021-07-26 13:31:51'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 14:15:00'::timestamp without time zone); ;
Date: 2021-07-26 13:31:52 Database: acaweb_fx User: postgres
116 1 1s707ms 1s707ms 1s707ms 1s707ms insert into consecutivecandles_results (symbolid, direction, statisticalqtycandles, qtyconsecutivecandles, percentile, resultuniqueindex, gmttimefound, patternstarttime, patternendtime, simulation, writtendatetime, fromprice, toprice, patternlengthbars) select distinct ?, ?, ?, ?, ?.?, ?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?, current_timestamp::timestamp without time zone, ?.?, ?.?, ? where not exists ( select ? from consecutivecandles_results where resultuniqueindex = ?) limit ? on conflict do nothing; ;-
INSERT INTO consecutivecandles_results (symbolid, direction, statisticalqtycandles, qtyconsecutivecandles, percentile, resultuniqueindex, gmttimefound, patternstarttime, patternendtime, simulation, writtendatetime, fromprice, toprice, patternlengthbars) SELECT DISTINCT 1031758, - 1, 5, 5, 0.949999999999999955600000000000, '1031758|-1|5|2021-07-26 03:00:00', '2021-07-26 01:07:00'::timestamp without time zone, '2021-07-25 23:00:00'::timestamp without time zone, '2021-07-26 03:00:00'::timestamp without time zone, 0, CURRENT_TIMESTAMP::timestamp without time zone, 29147.409999999999860000000000000000, 31190.360000000000580000000000000000, 5 WHERE NOT EXISTS ( SELECT 1 FROM consecutivecandles_results WHERE resultuniqueindex = '1031758|-1|5|2021-07-26 03:00:00') LIMIT 1 ON CONFLICT DO NOTHING; ;
Date: 2021-07-26 03:07:28 Database: acaweb_fx User: postgres
117 1 1s654ms 1s654ms 1s654ms 1s654ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 06:45:00'::timestamp without time zone, 2693, 2694, 2693, 2694, 2, 0, '2021-07-26 13:16:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 06:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 07:00:00'::timestamp without time zone, 2692, 2700.5, 2687, 2700.5, 17, 0, '2021-07-26 13:16:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 07:00:00'::timestamp without time zone); ;
Date: 2021-07-26 13:16:14 Database: acaweb_fx User: postgres
118 1 1s646ms 1s646ms 1s646ms 1s646ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975941, '2021-07-23 22:30:00'::timestamp without time zone, 4106.7, 4106.7, 4102.7, 4103.2, 402, 0, '2021-07-26 01:31:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975941 AND pricedatetime = '2021-07-23 22:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 975941, '2021-07-26 02:00:00'::timestamp without time zone, 4100, 4101.95, 4100, 4101, 35, 0, '2021-07-26 01:31:30'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 975941 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 01:31:32 Database: acaweb_fx User: postgres
119 1 1s620ms 1s620ms 1s620ms 1s620ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919889, '2021-07-23 00:00:00'::timestamp without time zone, 6913.5, 6971.5, 6910, 6957, 63764, 0, '2021-07-26 02:31:19'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 919889 AND pricedatetime = '2021-07-23 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:31:21 Database: acaweb_fx User: postgres
120 1 1s602ms 1s602ms 1s602ms 1s602ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ?; ;-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 9.000000, 1, 1, '2021-07-26 16:02:48'::timestamp without time zone, '', 0.000000, 3, 341, 130.186000, '2021-07-21 19:00:00', '2021-07-16 09:30:00', '2021-07-15 10:00:00', '', '', '', '', '', '', '', 412, 130.264750, '2021-07-26 15:30:00'::timestamp without time zone, '2021-07-26 15:30:00', 130.272000, 0.078750, 1, 960569, 130.744500, 131.532000, '2021-07-26 15:30:00'::timestamp without time zone, 412, '|960569|130.186|1|2021-07-26 15:30:00|1|1', 129.736120, 0.535880, 1, '2021-07-15 10:00:00', 129.676000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|960569|130.186|1|2021-07-26 15:30:00|1|1') LIMIT 1; ;
Date: 2021-07-26 18:03:16 Database: acaweb_fx User: postgres
121 1 1s531ms 1s531ms 1s531ms 1s531ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t1440 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002040, '2021-07-25 00:00:00'::timestamp without time zone, 4098, 4101, 4082.5, 4084.7, 146567, 0, '2021-07-26 06:01:15'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T1440 WHERE symbolid = 1002040 AND pricedatetime = '2021-07-25 00:00:00'::timestamp without time zone); ;
Date: 2021-07-26 06:01:16 Database: acaweb_fx User: postgres
122 1 1s415ms 1s415ms 1s415ms 1s415ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 06:30:00'::timestamp without time zone, 15594.4, 15600.5, 15591.7, 15595, 179, 0, '2021-07-26 06:01:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 06:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026609, '2021-07-26 06:45:00'::timestamp without time zone, 15595.1, 15596, 15586.5, 15594.7, 149, 0, '2021-07-26 06:01:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026609 AND pricedatetime = '2021-07-26 06:45:00'::timestamp without time zone); ;
Date: 2021-07-26 06:01:37 Database: acaweb_fx User: postgres
123 1 1s386ms 1s386ms 1s386ms 1s386ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023055, '2021-07-23 10:00:00'::timestamp without time zone, 27379, 27381.5, 27261.5, 27266.5, 44685, 0, '2021-07-26 03:32:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1023055 AND pricedatetime = '2021-07-23 10:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023055, '2021-07-26 04:00:00'::timestamp without time zone, 26890.7, 26902.7, 26760.2, 26766.7, 1178, 0, '2021-07-26 03:32:34'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1023055 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); ;
Date: 2021-07-26 03:32:36 Database: acaweb_fx User: postgres
124 1 1s273ms 1s273ms 1s273ms 1s273ms update whatshot_pref set whatshotlimit = ?, whatshotpercent = ?, groupname = ? where clientid = ?;-
UPDATE whatshot_pref SET whatshotlimit = '4', whatshotpercent = '4', groupname = 'Forex Minors' WHERE clientid = 'mvrfil@gmail.com';
Date: 2021-07-26 17:05:18 Database: acaweb_fx User: postgres Bind query: yes
-
UPDATE whatshot_pref SET whatshotlimit = '4', whatshotpercent = '0', groupname = 'FX Crosses' WHERE clientid = 'aron.marton@pepperstone.com';
Date: 2021-07-26 02:04:04 Database: acaweb_fx User: postgres Bind query: yes
-
UPDATE whatshot_pref SET whatshotlimit = '4', whatshotpercent = '0', groupname = 'Commodity' WHERE clientid = '12013921';
Date: 2021-07-26 00:59:13 Database: acaweb_fx User: postgres Bind query: yes
125 1 1s236ms 1s236ms 1s236ms 1s236ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023520, '2021-07-26 04:00:00'::timestamp without time zone, 142.03, 142.03, 142.03, 142.03, 185, 0, '2021-07-26 12:02:57'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1023520 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023520, '2021-07-26 05:00:00'::timestamp without time zone, 142, 142, 142, 142, 290, 0, '2021-07-26 12:02:57'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1023520 AND pricedatetime = '2021-07-26 05:00:00'::timestamp without time zone); ;
Date: 2021-07-26 12:02:58 Database: acaweb_fx User: postgres
126 1 1s186ms 1s186ms 1s186ms 1s186ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023679, '2021-07-26 04:00:00'::timestamp without time zone, 195, 195, 191.3, 191.5, 5770, 0, '2021-07-26 10:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023679 AND pricedatetime = '2021-07-26 04:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023679, '2021-07-26 04:15:00'::timestamp without time zone, 191.11, 191.5, 191, 191.5, 2557, 0, '2021-07-26 10:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023679 AND pricedatetime = '2021-07-26 04:15:00'::timestamp without time zone); ;
Date: 2021-07-26 10:31:08 Database: acaweb_fx User: postgres
127 1 1s177ms 1s177ms 1s177ms 1s177ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t240 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959879, '2021-07-23 16:00:00'::timestamp without time zone, 7336, 7338, 7333, 7335, 156, 0, '2021-07-26 02:16:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 959879 AND pricedatetime = '2021-07-23 16:00:00'::timestamp without time zone); INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 959879, '2021-07-25 16:00:00'::timestamp without time zone, 7341, 7341, 7324, 7326, 872, 0, '2021-07-26 02:16:16'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T240 WHERE symbolid = 959879 AND pricedatetime = '2021-07-25 16:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:16:18 Database: acaweb_fx User: postgres
128 1 1s119ms 1s119ms 1s119ms 1s119ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023709, '2021-07-26 09:00:00'::timestamp without time zone, 96.7, 97, 96.7, 97, 457, 0, '2021-07-26 15:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023709 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023709, '2021-07-26 09:15:00'::timestamp without time zone, 97.01, 97.05, 96, 96, 34162, 0, '2021-07-26 15:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023709 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone); ;
Date: 2021-07-26 15:31:07 Database: acaweb_fx User: postgres
129 1 1s109ms 1s109ms 1s109ms 1s109ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989605, '2021-07-23 21:45:00'::timestamp without time zone, 6965, 6965, 6955.5, 6958, 316, 0, '2021-07-26 02:30:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 989605 AND pricedatetime = '2021-07-23 21:45:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989605, '2021-07-26 02:15:00'::timestamp without time zone, 6948, 6950.5, 6937.5, 6937.5, 290, 0, '2021-07-26 02:30:36'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 989605 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:37 Database: acaweb_fx User: postgres
130 1 1s95ms 1s95ms 1s95ms 1s95ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 13:15:00'::timestamp without time zone, 2677, 2677.5, 2677, 2677.5, 3, 0, '2021-07-26 19:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 13:15:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 920601, '2021-07-26 13:30:00'::timestamp without time zone, 2674.5, 2676, 2674.5, 2676, 3, 0, '2021-07-26 19:46:21'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 920601 AND pricedatetime = '2021-07-26 13:30:00'::timestamp without time zone); ;
Date: 2021-07-26 19:46:22 Database: acaweb_fx User: postgres
131 1 1s86ms 1s86ms 1s86ms 1s86ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 12:00:00'::timestamp without time zone, 15461.1, 15496, 15461.1, 15494.1, 563, 0, '2021-07-26 11:31:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 12:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026574, '2021-07-26 12:15:00'::timestamp without time zone, 15495.2, 15516.2, 15494.9, 15508.2, 531, 0, '2021-07-26 11:31:20'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026574 AND pricedatetime = '2021-07-26 12:15:00'::timestamp without time zone); ;
Date: 2021-07-26 11:31:21 Database: acaweb_fx User: postgres
132 1 1s70ms 1s70ms 1s70ms 1s70ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989606, '2021-07-23 21:30:00'::timestamp without time zone, 6965, 6965, 6955.5, 6958, 316, 0, '2021-07-26 02:30:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989606 AND pricedatetime = '2021-07-23 21:30:00'::timestamp without time zone); INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 989606, '2021-07-26 02:00:00'::timestamp without time zone, 6948, 6950.5, 6937.5, 6937.5, 290, 0, '2021-07-26 02:30:37'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 989606 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone); ;
Date: 2021-07-26 02:30:38 Database: acaweb_fx User: postgres
133 1 1s58ms 1s58ms 1s58ms 1s58ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) select distinct ?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ?; ;-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '960523-1|44402.9271|44403.3958|44403.3333|44403.5521|88.005|87.94|87.506|87.617', 960523, 4.000000, 'Triangle', 4, '2021-07-26 14:02:48'::timestamp without time zone, 1, 0.406631, - 1.000000, 0.000000, 0.385662, 0.778891, 88.035688, 88.245252, '2021-07-26 13:45:00'::timestamp without time zone, '2021-07-26 21:30:00'::timestamp without time zone, '2021-07-25 22:15:00'::timestamp without time zone, '2021-07-26 13:45:00'::timestamp without time zone, 87.527000, 87.895000, '2021-07-25 22:15:00'::timestamp without time zone, '2021-07-26 09:30:00'::timestamp without time zone, '2021-07-26 08:00:00'::timestamp without time zone, '2021-07-26 13:15:00'::timestamp without time zone, 88.005000, 87.940000, 87.506000, 87.617000, 0.005286, - 0.001444, 2.499708, 0.599953, 'Continuation', 0.000000, '2021-07-26 13:45:00'::timestamp without time zone, 87.886000, 62, 0, 0.411000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000 and resx0 = '2021-07-25 22:15:00'::timestamp without time zone and resx1 = '2021-07-26 09:30:00'::timestamp without time zone and supportx0 = '2021-07-26 08:00:00'::timestamp without time zone and supportx1 = '2021-07-26 13:15:00'::timestamp without time zone and resy0 = 88.005000 and resy1 = 87.940000 and supporty0 = 87.506000 and supporty1 = 87.617000 and symbolid = 960523) or resultid = '960523-1|44402.9271|44403.3958|44403.3333|44403.5521|88.005|87.94|87.506|87.617') LIMIT 1; ;
Date: 2021-07-26 16:03:16 Database: acaweb_fx User: postgres
134 1 1s32ms 1s32ms 1s32ms 1s32ms insert into t1440 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960675, '2021-07-25 00:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:48 Database: acaweb_fx User: postgres
-
INSERT INTO T1440 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960675, '2021-07-25 00:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:48 Database: acaweb_fx User: postgres
135 1 1s15ms 1s15ms 1s15ms 1s15ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); ;-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023694, '2021-07-26 13:00:00'::timestamp without time zone, 46, 46, 45.98, 45.99, 4415, 0, '2021-07-26 19:31:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023694 AND pricedatetime = '2021-07-26 13:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1023694, '2021-07-26 13:15:00'::timestamp without time zone, 46, 46.04, 45.99, 46.0201, 5281, 0, '2021-07-26 19:31:55'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1023694 AND pricedatetime = '2021-07-26 13:15:00'::timestamp without time zone); ;
Date: 2021-07-26 19:31:56 Database: acaweb_fx User: postgres
136 1 1s14ms 1s14ms 1s14ms 1s14ms insert into t240 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimewritten) values (?, ?, ?, ?.?, ?.?, ?.?, ?, ?, ?);-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960637, '2021-07-25 20:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:47 Database: acaweb_fx User: postgres
-
INSERT INTO T240 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES (960637, '2021-07-25 20:00', 88, 88.005, 87.919, 87.938, 0, 0, '2021-07-26 02:02');
Date: 2021-07-26 02:02:47 Database: acaweb_fx User: postgres
Queries that waited the most
Rank Wait time Query 1 14m3s UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 00:30:00', reason = 'Pattern formed a Breakout pattern.' WHERE uniqueIndex = '|960521|0.73549|2|2021-07-23 17:45:00|1|-1' and relevant = 1;[ Date: 2021-07-26 03:06:25 - Database: acaweb_fx - User: postgres ]
2 7m30s select cleanupautochartistresults (60, 3, 60);[ Date: 2021-07-26 22:25:57 - Database: acaweb_fx - User: postgres ]
3 5m47s UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:45:00', reason = 'Pattern formed a Breakout pattern (see |974475|87.861|2|2021-07-26 03:45:00|-1|1).' WHERE uniqueIndex = '|974475|87.861|2|2021-07-23 21:15:00|1|-1' and relevant = 1;[ Date: 2021-07-26 03:06:25 - Database: acaweb_fx - User: postgres ]
4 4m45s UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Pattern formed a Breakout pattern (see |1032237|0.60653|1|2021-07-26 03:30:00|1|1).' WHERE uniqueIndex = '|1032237|0.60653|1|2021-07-25 12:00:00|-1|-1' and relevant = 1;[ Date: 2021-07-26 03:06:25 - Database: acaweb_fx - User: postgres ]
5 4m45s UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Pattern formed a Breakout pattern (see |1032237|0.60653|1|2021-07-26 03:30:00|1|1).' WHERE uniqueIndex = '|1032237|0.60653|1|2021-07-25 12:30:00|-1|-1' and relevant = 1;[ Date: 2021-07-26 03:06:25 - Database: acaweb_fx - User: postgres ]
6 4m19s UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:45:00', reason = 'Pattern formed a Breakout pattern (see |974395|81.3105|2|2021-07-26 03:45:00|-1|1).' WHERE uniqueIndex = '|974395|81.3105|2|2021-07-23 21:15:00|1|-1' and relevant = 1;[ Date: 2021-07-26 03:06:25 - Database: acaweb_fx - User: postgres ]
7 2m15s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 1';[ Date: 2021-07-26 01:04:18 - Database: acaweb_fx - User: postgres ]
8 2m15s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ADSSECURITIES - 1';[ Date: 2021-07-26 01:04:18 - Database: acaweb_fx - User: postgres ]
9 2m15s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 01:04:18 - Database: acaweb_fx - User: postgres ]
10 2m15s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ADSSECURITIES - 2';[ Date: 2021-07-26 01:04:18 - Database: acaweb_fx - User: postgres ]
11 2m15s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GIVCAPITAL - 2';[ Date: 2021-07-26 01:04:18 - Database: acaweb_fx - User: postgres ]
12 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'AKFX - 2';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
13 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ADSSECURITIES - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
14 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'VALBURYCAPITAL - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
15 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ATFX - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
16 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'GKFXPRIME - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
17 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ADSSECURITIES - 2';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
18 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ALBForex - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
19 1m41s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'DKFX - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
20 1m40s SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'AKFX - 1';[ Date: 2021-07-26 00:33:52 - Database: acaweb_fx - User: postgres ]
-
Queries
Queries by type
Key values
- 219,493 Total read queries
- 459,732 Total write queries
Queries by database
Key values
- acaweb_fx Main database
- 679,420 Requests
- 12d21h29m32s (acaweb_fx)
- Main time consuming database
Queries by user
Key values
- postgres Main user
- 675,361 Requests
User Request type Count Duration pgperfstats Total 4,059 2h43m37s insert 2,025 1h29s select 2,034 1h43m8s postgres Total 675,361 12d18h45m55s copy from 1,748 9m56s copy to 617 14m32s cte 27,902 2d11h6m39s ddl 344 7m21s delete 195 2m32s insert 358,592 1d19h28m26s others 195 2h41m36s select 217,459 8d4h34m29s tcl 382 33s554ms update 67,927 4h19m46s Duration by user
Key values
- 12d18h45m55s (postgres) Main time consuming user
User Request type Count Duration pgperfstats Total 4,059 2h43m37s insert 2,025 1h29s select 2,034 1h43m8s postgres Total 675,361 12d18h45m55s copy from 1,748 9m56s copy to 617 14m32s cte 27,902 2d11h6m39s ddl 344 7m21s delete 195 2m32s insert 358,592 1d19h28m26s others 195 2h41m36s select 217,459 8d4h34m29s tcl 382 33s554ms update 67,927 4h19m46s Queries by host
Key values
- unknown Main host
- 679,420 Requests
- 12d21h29m32s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 679,420 Requests
- 12d21h29m32s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 1 per second Cancelled query Peak
- 2021-07-26 02:47:58 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 303,103 100-500ms duration
Slowest individual queries
Rank Duration Query 1 7h51m3s select stats_createSummaryTables_KeyLevels (cast(4446 as int));[ Date: 2021-07-26 00:56:05 - Database: acaweb_fx - User: postgres ]
2 3h21m31s select stats_createSummaryTables_KeyLevels (cast(4385 as int));[ Date: 2021-07-26 00:56:10 - Database: acaweb_fx - User: postgres ]
3 3h16m22s select stats_createSummaryTables_KeyLevels (cast(4748 as int));[ Date: 2021-07-26 00:54:45 - Database: acaweb_fx - User: postgres ]
4 2h27m47s select stats_createSummaryTables_KeyLevels (cast(4768 as int));[ Date: 2021-07-26 00:57:31 - Database: acaweb_fx - User: postgres ]
5 2h20m53s select stats_createSummaryTables_KeyLevels (cast(4780 as int));[ Date: 2021-07-26 00:57:39 - Database: acaweb_fx - User: postgres ]
6 1h41m25s select stats_createSummaryTables_ChartPattens (cast(4446 as int));[ Date: 2021-07-26 02:43:16 - Database: acaweb_fx - User: postgres ]
7 1h32m1s select stats_createSummaryTables_KeyLevels (cast(4446 as int));[ Date: 2021-07-26 04:15:18 - Database: acaweb_fx - User: postgres ]
8 1h30m28s select updateageforrelevantresults ();[ Date: 2021-07-26 01:47:31 - Database: acaweb_fx - User: postgres ]
9 1h15m33s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:42:52 - Database: acaweb_fx - User: postgres ]
10 1h14m27s select cleanupkeylevelsresults (60, 10, 60);[ Date: 2021-07-26 04:14:29 - Database: acaweb_fx - User: postgres ]
11 1h9m14s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:43:15 - Database: acaweb_fx - User: postgres ]
12 1h4m43s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 03:43:15 - Database: acaweb_fx - User: postgres ]
13 1h2m4s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4442 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4442 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 03:44:33 - Database: acaweb_fx - User: postgres ]
14 1h2m3s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 03:43:32 - Database: acaweb_fx - User: postgres ]
15 1h2s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 02:43:15 - Database: acaweb_fx - User: postgres ]
16 58m52s select stats_createSummaryTables_KeyLevels (cast(4871 as int));[ Date: 2021-07-26 00:57:32 - Database: acaweb_fx - User: postgres ]
17 58m50s select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4446 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';[ Date: 2021-07-26 03:43:32 - Database: acaweb_fx - User: postgres ]
18 58m43s select stats_createSummaryTables_ChartPattens (cast(4871 as int));[ Date: 2021-07-26 00:57:22 - Database: acaweb_fx - User: postgres ]
19 58m23s select updateageforrelevantresults ();[ Date: 2021-07-26 04:00:26 - Database: acaweb_fx - User: postgres ]
20 57m8s select stats_createSummaryTables_KeyLevels (cast(4868 as int));[ Date: 2021-07-26 00:55:47 - Database: acaweb_fx - User: postgres ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d20h46m1s 828 50ms 1h15m33s 3m14s select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 01 60 5h3m16s 5m3s 02 185 12h50m5s 4m9s 03 172 18h28m46s 6m26s 04 2 1h32m42s 46m21s 12 56 18m32s 19s861ms 13 35 59m14s 1m41s 14 62 58m 56s130ms 15 100 55m42s 33s420ms 16 28 59m39s 2m7s 17 57 54m51s 57s740ms 18 13 1h1m8s 4m42s 19 58 44m 45s529ms [ User: postgres - Total duration: 1d20h46m1s - Times executed: 828 ]
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 03:43:15 Duration: 1h4m43s Database: acaweb_fx User: postgres
2 1d1h26m23s 222 88ms 7h51m3s 6m52s select stats_createsummarytables_keylevels (cast(? as int));Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 00 57 22h32m45s 23m43s 01 1 833ms 833ms 04 21 1h41m44s 4m50s 05 24 22m48s 57s1ms 06 52 22m48s 26s324ms 07 55 19m11s 20s932ms 08 12 7m4s 35s403ms [ User: postgres - Total duration: 1d1h26m23s - Times executed: 222 ]
-
select stats_createSummaryTables_KeyLevels (cast(4446 as int));
Date: 2021-07-26 00:56:05 Duration: 7h51m3s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4385 as int));
Date: 2021-07-26 00:56:10 Duration: 3h21m31s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4748 as int));
Date: 2021-07-26 00:54:45 Duration: 3h16m22s Database: acaweb_fx User: postgres
3 1d31m3s 415 52ms 45m15s 3m32s select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 00 143 12h21m58s 5m11s 01 67 7h7m17s 6m22s 02 1 44m40s 44m40s 08 45 46m52s 1m2s 09 35 59m23s 1m41s 10 55 55m59s 1m1s 11 16 59m39s 3m43s 12 53 35m11s 39s843ms [ User: postgres - Total duration: 1d31m3s - Times executed: 415 ]
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:56:01 Duration: 45m15s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:11:06 Duration: 44m40s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:54:41 Duration: 43m58s Database: acaweb_fx User: postgres
4 23h55m57s 7,152 51ms 11m15s 12s46ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 00 75 1h41m59s 1m21s 01 57 2h40s 2m7s 02 242 1h46m47s 26s475ms 03 136 1h47m54s 47s605ms 04 520 1h1m13s 7s64ms 05 402 53m56s 8s51ms 06 459 56m 7s321ms 07 455 51m32s 6s796ms 08 408 42m22s 6s231ms 09 274 51m6s 11s193ms 10 281 54m3s 11s541ms 11 338 54m12s 9s623ms 12 357 50m59s 8s570ms 13 262 54m24s 12s458ms 14 300 52m 10s402ms 15 286 51m38s 10s835ms 16 266 49m32s 11s175ms 17 242 53m3s 13s154ms 18 293 48m14s 9s880ms 19 238 56m38s 14s280ms 20 256 45m39s 10s700ms 21 268 51m56s 11s627ms 22 266 47m49s 10s788ms 23 471 12m9s 1s548ms [ User: postgres - Total duration: 23h55m57s - Times executed: 7152 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:33:34 Duration: 11m15s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m10s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('0' = 0 OR ar.patternlengthbars <= '0') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:33:20 Duration: 8m17s Database: acaweb_fx User: postgres Bind query: yes
5 22h7m7s 2,669 50ms 20m44s 29s834ms (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 00 60 1h19m30s 1m19s 01 60 2h13m8s 2m13s 02 75 2h10m44s 1m44s 03 70 2h18m22s 1m58s 04 107 49m42s 27s871ms 05 115 38m23s 20s33ms 06 107 47m59s 26s913ms 07 107 42m19s 23s736ms 08 119 48m46s 24s595ms 09 121 46m5s 22s851ms 10 104 51m45s 29s865ms 11 117 42m31s 21s805ms 12 127 45m36s 21s544ms 13 127 50m50s 24s18ms 14 125 42m49s 20s558ms 15 132 39m54s 18s136ms 16 121 55m41s 27s617ms 17 122 48m3s 23s636ms 18 126 27m24s 13s50ms 19 129 36m22s 16s921ms 20 111 1h2m4s 33s556ms 21 121 40m2s 19s858ms 22 129 27m6s 12s609ms 23 137 1m48s 793ms [ User: postgres - Total duration: 22h7m7s - Times executed: 2669 ]
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 03:36:08 Duration: 20m44s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 03:36:08 Duration: 13m10s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 01:04:50 Duration: 10m48s Database: acaweb_fx User: postgres Bind query: yes
6 16h1m32s 6,386 50ms 44m37s 9s34ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 00 90 1h13m8s 48s762ms 01 55 2h33m35s 2m47s 02 212 1h7m2s 18s975ms 03 141 1h34m57s 40s406ms 04 472 28m57s 3s682ms 05 387 26m13s 4s66ms 06 422 32m49s 4s667ms 07 406 36m25s 5s383ms 08 376 29m16s 4s670ms 09 230 23m44s 6s191ms 10 243 31m10s 7s695ms 11 290 26m35s 5s503ms 12 304 30m49s 6s85ms 13 233 27m41s 7s130ms 14 260 32m11s 7s430ms 15 255 28m42s 6s753ms 16 235 31m5s 7s939ms 17 221 38m48s 10s537ms 18 253 33m14s 7s882ms 19 217 32m12s 8s904ms 20 220 28m7s 7s671ms 21 234 26m20s 6s753ms 22 235 26m11s 6s685ms 23 395 2m9s 327ms [ User: postgres - Total duration: 16h1m32s - Times executed: 6386 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:38:28 Duration: 44m37s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:36:10 Duration: 22m20s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:55:21 Duration: 15m10s Database: acaweb_fx User: postgres Bind query: yes
7 13h55m43s 79,654 50ms 10s816ms 629ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 00 1,050 10m49s 618ms 01 3,402 55m12s 973ms 02 3,561 1h4m24s 1s85ms 03 3,775 1h25m13s 1s354ms 04 2,822 37m34s 798ms 05 3,190 16m38s 313ms 06 3,254 26m27s 487ms 07 3,388 34m48s 616ms 08 2,979 39m33s 796ms 09 3,601 22m14s 370ms 10 3,392 26m31s 469ms 11 3,920 28m6s 430ms 12 2,967 27m10s 549ms 13 4,001 40m26s 606ms 14 3,579 36m30s 612ms 15 3,726 38m23s 618ms 16 4,321 40m24s 561ms 17 3,984 46m24s 698ms 18 3,453 26m8s 454ms 19 3,918 43m6s 660ms 20 4,108 30m4s 439ms 21 4,031 37m32s 558ms 22 3,232 21m56s 407ms [ User: postgres - Total duration: 13h55m43s - Times executed: 79654 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026489, '2021-07-26 09:15:00'::timestamp without time zone, 4.57836, 4.57922, 4.57708, 4.57708, 26, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026489 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:13 Duration: 10s816ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954161, '2021-07-26 09:15:00'::timestamp without time zone, 0.92487, 0.92492, 0.9245, 0.92485, 1343, 0, '2021-07-26 08:31:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 954161 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:15 Duration: 10s739ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 966860, '2021-07-26 02:15:00'::timestamp without time zone, 0.92459, 0.92474, 0.92434, 0.92467, 839, 0, '2021-07-26 08:31:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 966860 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:14 Duration: 10s420ms Database: acaweb_fx User: postgres
8 9h38m7s 83 14s521ms 1h30m28s 6m57s select updateageforrelevantresults ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 00 1 36m27s 36m27s 01 1 1h30m28s 1h30m28s 02 1 51m48s 51m48s 04 4 1h14m40s 18m40s 05 4 13m5s 3m16s 06 4 21m39s 5m24s 07 4 18m50s 4m42s 08 4 16m28s 4m7s 09 4 15m47s 3m56s 10 4 20m15s 5m3s 11 4 15m52s 3m58s 12 4 20m26s 5m6s 13 4 19m55s 4m58s 14 4 18m12s 4m33s 15 4 20m7s 5m1s 16 4 18m53s 4m43s 17 4 16m59s 4m14s 18 4 19m3s 4m45s 19 4 19m55s 4m58s 20 4 16m17s 4m4s 21 4 15m41s 3m55s 22 4 15m49s 3m57s 23 4 1m21s 20s335ms [ User: postgres - Total duration: 9h38m7s - Times executed: 83 ]
-
select updateageforrelevantresults ();
Date: 2021-07-26 01:47:31 Duration: 1h30m28s Database: acaweb_fx User: postgres
-
select updateageforrelevantresults ();
Date: 2021-07-26 04:00:26 Duration: 58m23s Database: acaweb_fx User: postgres
-
select updateageforrelevantresults ();
Date: 2021-07-26 02:53:50 Duration: 51m48s Database: acaweb_fx User: postgres
9 9h28m9s 45,617 50ms 11s449ms 747ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 00 371 1m17s 209ms 01 1,843 34m53s 1s135ms 02 1,934 43m46s 1s358ms 03 2,045 48m22s 1s419ms 04 1,985 30m36s 925ms 05 1,528 10m23s 408ms 06 1,661 18m38s 673ms 07 1,861 26m17s 847ms 08 1,830 37m8s 1s217ms 09 1,660 8m12s 296ms 10 2,188 21m3s 577ms 11 2,231 15m43s 422ms 12 1,775 19m24s 655ms 13 2,331 22m49s 587ms 14 1,757 18m22s 627ms 15 2,139 25m10s 706ms 16 2,932 33m3s 676ms 17 2,661 44m9s 995ms 18 2,411 22m 547ms 19 2,561 34m43s 813ms 20 1,849 12m3s 391ms 21 2,207 25m3s 681ms 22 1,857 14m51s 480ms [ User: postgres - Total duration: 9h28m9s - Times executed: 45617 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016077, '2021-07-26 08:00:00'::timestamp without time zone, 1.05487, 1.05527, 1.05487, 1.05527, 1452, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1016077 AND pricedatetime = '2021-07-26 08:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:14 Duration: 11s449ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982436, '2021-07-26 09:00:00'::timestamp without time zone, 0.92483, 0.92513, 0.9245, 0.92483, 2163, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982436 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:13 Duration: 10s993ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919758, '2021-07-26 02:00:00'::timestamp without time zone, 1.87155, 1.87157, 1.86939, 1.86988, 4408, 0, '2021-07-26 08:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 919758 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:16 Duration: 10s136ms Database: acaweb_fx User: postgres
10 7h40m40s 1,038 694ms 18m47s 26s628ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 00 45 34m13s 45s629ms 01 2 1m26s 43s187ms 02 46 44m52s 58s523ms 03 58 23m25s 24s237ms 04 130 27m10s 12s544ms 05 127 19m18s 9s123ms 06 107 21m40s 12s151ms 07 89 24m44s 16s677ms 08 74 20m8s 16s337ms 09 24 15m11s 37s989ms 10 24 18m46s 46s954ms 11 24 15m53s 39s719ms 12 24 18m37s 46s547ms 13 24 18m8s 45s355ms 14 24 14m52s 37s179ms 15 24 17m29s 43s712ms 16 24 17m15s 43s132ms 17 24 20m31s 51s331ms 18 24 20m10s 50s430ms 19 24 17m40s 44s184ms 20 24 15m11s 37s960ms 21 24 14m26s 36s84ms 22 24 17m36s 44s33ms 23 24 1m49s 4s557ms [ User: postgres - Total duration: 7h40m40s - Times executed: 1038 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:55:57 Duration: 18m47s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '690' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('2' = 0 OR s.timegranularity in ('15', '60')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR s.symbol in ('#AAPL', '#TSLA', 'AUDUSD', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'EURCAD', 'EURCHF', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'NAS100', 'NZDJPY', 'NZDUSD', 'SPX500', 'US30', 'USDCAD', 'USDCHF', 'USDJPY', 'WTI', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 00:39:38 Duration: 13m26s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 00:23:32 Duration: 12m38s Database: acaweb_fx User: postgres Bind query: yes
11 6h18m47s 2,153 50ms 8m2s 10s556ms with rar_max as ( ;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 26 00 32 15m41s 29s431ms 01 5 5m4s 1m 02 58 12m36s 13s50ms 03 50 7m29s 8s985ms 04 204 25m50s 7s601ms 05 169 32m19s 11s474ms 06 169 24m38s 8s749ms 07 166 17m38s 6s377ms 08 129 16m28s 7s659ms 09 86 15m38s 10s912ms 10 80 15m32s 11s661ms 11 92 14m7s 9s212ms 12 96 16m18s 10s194ms 13 65 12m5s 11s155ms 14 78 18m23s 14s142ms 15 66 12m59s 11s803ms 16 67 13m15s 11s867ms 17 56 13m9s 14s96ms 18 80 17m42s 13s277ms 19 56 18m46s 20s122ms 20 71 15m8s 12s790ms 21 71 14m20s 12s119ms 22 71 18m25s 15s565ms 23 136 5m8s 2s267ms [ User: postgres - Total duration: 6h18m47s - Times executed: 2153 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 00:08:55 Duration: 8m2s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( ;
Date: 2021-07-26 06:50:42 Duration: 7m7s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( ;
Date: 2021-07-26 02:15:47 Duration: 4m56s Database: acaweb_fx User: postgres Bind query: yes
12 5h35m23s 215 0ms 1h41m25s 1m33s select stats_createsummarytables_chartpattens (cast(? as int));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 00 47 1h19m34s 1m41s 01 1 3m1s 3m1s 02 1 1h41m25s 1h41m25s 04 20 34m35s 1m43s 05 26 37m12s 1m25s 06 52 37m28s 43s239ms 07 56 39m49s 42s675ms 08 12 2m15s 11s331ms [ User: postgres - Total duration: 5h35m23s - Times executed: 215 ]
-
select stats_createSummaryTables_ChartPattens (cast(4446 as int));
Date: 2021-07-26 02:43:16 Duration: 1h41m25s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4871 as int));
Date: 2021-07-26 00:57:22 Duration: 58m43s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4868 as int));
Date: 2021-07-26 00:18:16 Duration: 19m37s Database: acaweb_fx User: postgres
13 5h13m28s 21,968 50ms 4m42s 856ms select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 26 00 1,924 51m32s 1s607ms 01 1,854 50m19s 1s628ms 02 1,621 44m22s 1s642ms 03 1,719 47m30s 1s657ms 04 915 9m4s 594ms 05 953 6m12s 391ms 06 914 7m48s 512ms 07 828 6m56s 502ms 08 806 8m11s 609ms 09 764 5m22s 422ms 10 806 5m40s 422ms 11 784 6m40s 511ms 12 742 8m11s 662ms 13 834 7m19s 526ms 14 677 5m29s 486ms 15 745 4m20s 350ms 16 690 6m16s 545ms 17 654 5m48s 532ms 18 729 6m3s 499ms 19 757 5m33s 439ms 20 841 5m34s 398ms 21 811 6m14s 462ms 22 574 2m51s 298ms 23 26 3s310ms 127ms [ User: postgres - Total duration: 5h13m28s - Times executed: 21968 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 627 AND groupid = 4454 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 12:04:43 Duration: 2m14s Database: acaweb_fx User: postgres Bind query: yes
14 4h56m17s 24,036 50ms 8s764ms 739ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 00 783 1m49s 140ms 01 885 24m41s 1s674ms 02 969 17m42s 1s96ms 03 1,023 27m37s 1s620ms 04 983 20m38s 1s260ms 05 733 4m7s 337ms 06 967 10m1s 622ms 07 898 10m51s 725ms 08 790 13m29s 1s24ms 09 1,081 3m29s 194ms 10 1,184 13m51s 702ms 11 920 3m16s 213ms 12 1,174 14m19s 732ms 13 1,221 9m34s 470ms 14 1,152 14m31s 756ms 15 1,137 19m35s 1s33ms 16 1,515 13m16s 526ms 17 1,340 28m53s 1s293ms 18 1,119 10m5s 541ms 19 1,280 19m9s 898ms 20 933 3m40s 236ms 21 1,028 7m2s 410ms 22 921 4m29s 292ms [ User: postgres - Total duration: 4h56m17s - Times executed: 24036 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 962028, '2021-07-26 02:00:00'::timestamp without time zone, 1.8704, 1.8708, 1.8697, 1.8704, 690, 0, '2021-07-26 03:02:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 962028 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 03:02:34 Duration: 8s764ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026601, '2021-07-26 17:00:00'::timestamp without time zone, 8770.4, 8783.6, 8748.9, 8761.5, 2946, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026601 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s989ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002778, '2021-07-26 17:00:00'::timestamp without time zone, 81.387, 81.493, 81.299, 81.483, 7228, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1002778 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s984ms Database: acaweb_fx User: postgres
15 4h43m15s 6,206 50ms 54s166ms 2s738ms 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 #15
Day Hour Count Duration Avg duration Jul 26 00 136 18m33s 8s187ms 01 107 28m9s 15s790ms 02 135 21m2s 9s355ms 03 166 24m17s 8s778ms 04 249 11m20s 2s731ms 05 207 5m44s 1s662ms 06 206 8m45s 2s552ms 07 178 7m 2s362ms 08 243 10m3s 2s482ms 09 281 7m4s 1s511ms 10 247 8m43s 2s118ms 11 272 6m52s 1s517ms 12 342 15m51s 2s782ms 13 305 13m23s 2s634ms 14 394 11m21s 1s728ms 15 510 12m46s 1s502ms 16 374 13m1s 2s89ms 17 405 13m2s 1s932ms 18 401 11m31s 1s725ms 19 324 12m13s 2s263ms 20 271 8m56s 1s980ms 21 194 6m25s 1s984ms 22 188 6m46s 2s162ms 23 71 17s329ms 244ms [ User: postgres - Total duration: 4h43m15s - Times executed: 6206 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:36 Duration: 54s166ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:36 Duration: 53s366ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '1010898' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:04:07 Duration: 51s679ms Database: acaweb_fx User: postgres Bind query: yes
16 4h8m33s 72,132 50ms 3s484ms 206ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) select distinct ?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 00 3,730 17m34s 282ms 01 4,921 20m52s 254ms 02 5,052 24m38s 292ms 03 4,606 22m29s 292ms 04 1,542 5m31s 214ms 05 1,191 3m13s 162ms 06 1,440 4m27s 185ms 07 1,929 5m27s 170ms 08 2,673 9m 202ms 09 3,620 9m53s 163ms 10 2,556 7m34s 177ms 11 3,556 10m23s 175ms 12 3,071 10m45s 210ms 13 3,360 12m12s 217ms 14 3,076 9m5s 177ms 15 4,130 11m55s 173ms 16 4,439 14m53s 201ms 17 3,018 9m16s 184ms 18 2,663 7m34s 170ms 19 3,066 9m3s 177ms 20 2,906 7m52s 162ms 21 2,937 8m12s 167ms 22 2,650 6m31s 147ms [ User: postgres - Total duration: 4h8m33s - Times executed: 72132 ]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '954111-1|44400.7292|44403.1562|44400.6667|44403.0104|0.9216|0.9202|0.9196|0.919', 954111, 3.000000000000000000000000000000, 'Falling Wedge', 4, '2021-07-26 01:29:42'::timestamp without time zone, - 1, 0.489116622947861679000000000000, - 1.000000000000000000000000000000, 0.127263603438495465100000000000, 0.124224892974093920100000000000, 0.071854946975290961980000000000, 0.918542325538810877600000000000, 0.919182635641171197400000000000, '2021-07-26 04:15:00'::timestamp without time zone, '2021-07-27 10:22:30'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 04:15:00'::timestamp without time zone, 0.922189999999999954200000000000, 0.919529999999999958500000000000, '2021-07-23 17:30:00'::timestamp without time zone, '2021-07-26 03:45:00'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 00:15:00'::timestamp without time zone, 0.921560000000000045800000000000, 0.920239999999999946900000000000, 0.919649999999999967500000000000, 0.918980000000000019100000000000, - 0.000020303030303028741270000000, - 0.000032195121951221926850000000, 1.919074762716650229000000000000, 0.478915558983019573600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 04:15:00'::timestamp without time zone, 0.919640000000000013000000000000, 49, 0, 0.001585000000000003073000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 17:30:00'::timestamp without time zone and resx1 = '2021-07-26 03:45:00'::timestamp without time zone and supportx0 = '2021-07-23 16:00:00'::timestamp without time zone and supportx1 = '2021-07-26 00:15:00'::timestamp without time zone and resy0 = 0.921560000000000045800000000000 and resy1 = 0.920239999999999946900000000000 and supporty0 = 0.919649999999999967500000000000 and supporty1 = 0.918980000000000019100000000000 and symbolid = 954111) or resultid = '954111-1|44400.7292|44403.1562|44400.6667|44403.0104|0.9216|0.9202|0.9196|0.919') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:30:12 Duration: 3s484ms Database: acaweb_fx User: postgres
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '1028356-1|44398.0833|44399.9896|44398.9688|44403.2917|1.0599|1.0601|1.054|1.0542', 1028356, 7.000000000000000000000000000000, 'Rectangle', 4, '2021-07-26 06:30:23'::timestamp without time zone, 1, 0.156892141815342722800000000000, - 1.000000000000000000000000000000, 0.414645415661908323100000000000, 0.678179071776197295300000000000, 0.359230781615771210800000000000, 1.055945374693880057000000000000, 1.057100899265312366000000000000, '2021-07-26 08:15:00'::timestamp without time zone, '2021-07-28 23:22:30'::timestamp without time zone, '2021-07-21 02:00:00'::timestamp without time zone, '2021-07-26 08:15:00'::timestamp without time zone, 1.058030000000000026000000000000, 1.055129999999999901000000000000, '2021-07-21 02:00:00'::timestamp without time zone, '2021-07-22 23:45:00'::timestamp without time zone, '2021-07-21 23:15:00'::timestamp without time zone, '2021-07-26 07:00:00'::timestamp without time zone, 1.059930000000000039000000000000, 1.060110000000000108000000000000, 1.054019999999999957000000000000, 1.054249999999999909000000000000, 0.000001074766355139964883000000, 0.000000994475138121928050700000, 1.387568034389999205000000000000, 0.279314617218305527600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 08:15:00'::timestamp without time zone, 1.055120000000000058000000000000, 303, 0, 0.005885000000000140119000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-21 02:00:00'::timestamp without time zone and resx1 = '2021-07-22 23:45:00'::timestamp without time zone and supportx0 = '2021-07-21 23:15:00'::timestamp without time zone and supportx1 = '2021-07-26 07:00:00'::timestamp without time zone and resy0 = 1.059930000000000039000000000000 and resy1 = 1.060110000000000108000000000000 and supporty0 = 1.054019999999999957000000000000 and supporty1 = 1.054249999999999909000000000000 and symbolid = 1028356) or resultid = '1028356-1|44398.0833|44399.9896|44398.9688|44403.2917|1.0599|1.0601|1.054|1.0542') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:57 Duration: 3s415ms Database: acaweb_fx User: postgres
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '954111-1|44400.6042|44403.1562|44400.6667|44403.0104|0.9222|0.9202|0.9196|0.919', 954111, 3.000000000000000000000000000000, 'Falling Wedge', 5, '2021-07-26 01:29:42'::timestamp without time zone, - 1, 0.930360495219786254300000000000, - 1.000000000000000000000000000000, 0.199641856834565451000000000000, 0.077739269528130150460000000000, 0.074443413224301938080000000000, 0.917682102326861426400000000000, 0.918824209302858907500000000000, '2021-07-26 04:15:00'::timestamp without time zone, '2021-07-27 11:07:30'::timestamp without time zone, '2021-07-23 14:30:00'::timestamp without time zone, '2021-07-26 04:15:00'::timestamp without time zone, 0.918760000000000021100000000000, 0.919529999999999958500000000000, '2021-07-23 14:30:00'::timestamp without time zone, '2021-07-26 03:45:00'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 00:15:00'::timestamp without time zone, 0.922189999999999954200000000000, 0.920239999999999946900000000000, 0.919649999999999967500000000000, 0.918980000000000019100000000000, - 0.000020303030303028741270000000, - 0.000036792452830188815380000000, 2.796067786384582643000000000000, 0.642354879638652676000000000000, 'Reversal', 0.000000000000000000000000000000, '2021-07-26 04:15:00'::timestamp without time zone, 0.919640000000000013000000000000, 55, 0, 0.001899999999999957279000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 14:30:00'::timestamp without time zone and resx1 = '2021-07-26 03:45:00'::timestamp without time zone and supportx0 = '2021-07-23 16:00:00'::timestamp without time zone and supportx1 = '2021-07-26 00:15:00'::timestamp without time zone and resy0 = 0.922189999999999954200000000000 and resy1 = 0.920239999999999946900000000000 and supporty0 = 0.919649999999999967500000000000 and supporty1 = 0.918980000000000019100000000000 and symbolid = 954111) or resultid = '954111-1|44400.6042|44403.1562|44400.6667|44403.0104|0.9222|0.9202|0.9196|0.919') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:30:11 Duration: 3s397ms Database: acaweb_fx User: postgres
17 4h6m39s 4,121 50ms 9m24s 3s591ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and (((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 00 197 19m37s 5s976ms 01 133 34m17s 15s467ms 02 184 26m19s 8s586ms 03 246 1h2m39s 15s283ms 04 225 9m13s 2s462ms 05 157 6m15s 2s388ms 06 141 6m20s 2s701ms 07 152 5m34s 2s199ms 08 178 5m3s 1s703ms 09 205 2m48s 819ms 10 195 5m48s 1s788ms 11 172 7m20s 2s562ms 12 248 5m52s 1s420ms 13 219 6m48s 1s866ms 14 211 4m27s 1s266ms 15 212 4m42s 1s332ms 16 207 5m11s 1s506ms 17 161 4m38s 1s728ms 18 155 4m28s 1s735ms 19 107 6m16s 3s518ms 20 100 5m36s 3s362ms 21 130 4m21s 2s11ms 22 117 2m40s 1s367ms 23 69 16s250ms 235ms [ User: postgres - Total duration: 4h6m39s - Times executed: 4121 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:04:41 Duration: 9m24s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:52:15 Duration: 8m27s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:52:15 Duration: 8m24s Database: acaweb_fx User: postgres Bind query: yes
18 3h26m56s 2,494 54ms 57s563ms 4s978ms select * from ( select pricedatetime, open, high, low, close, volume, bsf from t30 where symbolid = ? and (bsf = ? or bsf is null) order by pricedatetime desc limit ?) a order by pricedatetime asc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 00 55 14m10s 15s459ms 01 65 17m57s 16s569ms 02 72 20m17s 16s906ms 03 64 18m33s 17s396ms 04 74 6m21s 5s160ms 05 50 3m25s 4s106ms 06 100 4m35s 2s759ms 07 82 7m9s 5s235ms 08 126 8m28s 4s34ms 09 160 7m23s 2s772ms 10 145 8m20s 3s451ms 11 163 7m50s 2s884ms 12 185 12m40s 4s111ms 13 154 10m19s 4s24ms 14 164 9m34s 3s502ms 15 150 8m1s 3s209ms 16 149 11m35s 4s667ms 17 112 6m29s 3s480ms 18 116 6m3s 3s131ms 19 92 5m19s 3s471ms 20 65 3m44s 3s456ms 21 63 5m6s 4s859ms 22 39 3m14s 4s987ms 23 49 13s417ms 273ms [ User: postgres - Total duration: 3h26m56s - Times executed: 2494 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '988191' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:31 Duration: 57s563ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '988191' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:31 Duration: 56s456ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s113ms Database: acaweb_fx User: postgres Bind query: yes
19 3h22m25s 56,431 50ms 5s12ms 215ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 00 1,754 10m54s 373ms 01 1,943 14m20s 443ms 02 3,294 22m13s 404ms 03 3,205 21m11s 396ms 04 2,246 7m29s 199ms 05 1,578 3m47s 143ms 06 1,650 4m38s 168ms 07 1,817 5m34s 183ms 08 3,893 11m43s 180ms 09 2,802 7m5s 151ms 10 2,095 5m50s 167ms 11 2,935 8m34s 175ms 12 2,547 8m40s 204ms 13 2,074 7m43s 223ms 14 2,734 7m17s 159ms 15 3,614 9m37s 159ms 16 3,894 11m49s 182ms 17 2,162 7m7s 197ms 18 2,512 6m27s 154ms 19 2,201 6m7s 167ms 20 2,259 5m30s 146ms 21 1,688 5m2s 178ms 22 1,533 3m36s 141ms 23 1 55ms 55ms [ User: postgres - Total duration: 3h22m25s - Times executed: 56431 ]
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 06:30:24'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 76, 202.849999999999994300000000000000, '2021-07-19 17:00:00', '2021-07-09 16:00:00', '2021-07-07 13:00:00', '', '', '', '', '', '', '', 152, 202.324999999999988600000000000000, '2021-07-23 18:00:00'::timestamp without time zone, '2021-07-23 18:00:00', 0.000000000000000000000000000000, 0.570000000000000284200000000000, 1, 1029793, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1029793|202.85|2|2021-07-23 18:00:00|1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-07 13:00:00', 201.250000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1029793|202.85|2|2021-07-23 18:00:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:55 Duration: 5s12ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 01:43:43'::timestamp without time zone, '', 0.500000000000000000000000000000, 4, 48, 303.550000000000011400000000000000, '2021-07-20 16:30:00', '2021-07-20 12:45:00', '2021-07-19 13:15:00', '2021-07-19 13:00:00', '', '', '', '', '', '', 120, 303.189999999999997700000000000000, '2021-07-23 18:15:00'::timestamp without time zone, '2021-07-23 18:15:00', 0.000000000000000000000000000000, 0.362500000000000044400000000000, 1, 1026969, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1026969|303.55|2|2021-07-23 18:15:00|1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-19 13:00:00', 301.199999999999988600000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1026969|303.55|2|2021-07-23 18:15:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:44:14 Duration: 4s673ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 06:30:22'::timestamp without time zone, '2021-07-26 09:15:00', 0.073000000000000231370000000000, 6, 76, 21.362999999999999540000000000000, '2021-07-26 03:00:00', '2021-07-26 01:30:00', '2021-07-23 23:45:00', '2021-07-23 22:00:00', '2021-07-23 20:15:00', '2021-07-23 13:15:00', '', '', '', '', 177, 21.353249999999999180000000000000, '2021-07-26 09:15:00'::timestamp without time zone, '2021-07-26 09:15:00', 21.411999999999999030000000000000, 0.014999999999999999440000000000, - 1, 982690, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|982690|21.363|2|2021-07-26 09:15:00|2021-07-26 09:15:00|-1|-1', 21.463740000000001370000000000000, 0.100740000000001828080000000000, 2, '2021-07-23 13:15:00', 21.544000000000000480000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|982690|21.363|2|2021-07-26 09:15:00|2021-07-26 09:15:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:57 Duration: 3s610ms Database: acaweb_fx User: postgres
20 3h14m19s 12,998 50ms 2m29s 896ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 00 918 25m24s 1s660ms 01 915 28m6s 1s842ms 02 847 20m55s 1s482ms 03 860 24m53s 1s736ms 04 518 7m6s 822ms 05 552 4m40s 508ms 06 521 6m28s 745ms 07 552 5m17s 574ms 08 508 5m35s 659ms 09 485 4m47s 592ms 10 569 6m2s 636ms 11 481 4m44s 592ms 12 505 5m12s 617ms 13 522 6m36s 759ms 14 460 4m22s 570ms 15 474 3m57s 501ms 16 495 3m58s 481ms 17 480 6m24s 800ms 18 477 4m48s 605ms 19 475 3m53s 491ms 20 473 4m27s 566ms 21 493 4m6s 499ms 22 379 2m24s 380ms 23 39 4s560ms 116ms [ User: postgres - Total duration: 3h14m19s - Times executed: 12998 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:06:32 Duration: 1m20s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:50:34 Duration: 1m4s Database: acaweb_fx User: postgres Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 79,654 13h55m43s 50ms 10s816ms 629ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 00 1,050 10m49s 618ms 01 3,402 55m12s 973ms 02 3,561 1h4m24s 1s85ms 03 3,775 1h25m13s 1s354ms 04 2,822 37m34s 798ms 05 3,190 16m38s 313ms 06 3,254 26m27s 487ms 07 3,388 34m48s 616ms 08 2,979 39m33s 796ms 09 3,601 22m14s 370ms 10 3,392 26m31s 469ms 11 3,920 28m6s 430ms 12 2,967 27m10s 549ms 13 4,001 40m26s 606ms 14 3,579 36m30s 612ms 15 3,726 38m23s 618ms 16 4,321 40m24s 561ms 17 3,984 46m24s 698ms 18 3,453 26m8s 454ms 19 3,918 43m6s 660ms 20 4,108 30m4s 439ms 21 4,031 37m32s 558ms 22 3,232 21m56s 407ms [ User: postgres - Total duration: 13h55m43s - Times executed: 79654 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026489, '2021-07-26 09:15:00'::timestamp without time zone, 4.57836, 4.57922, 4.57708, 4.57708, 26, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1026489 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:13 Duration: 10s816ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 954161, '2021-07-26 09:15:00'::timestamp without time zone, 0.92487, 0.92492, 0.9245, 0.92485, 1343, 0, '2021-07-26 08:31:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 954161 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:15 Duration: 10s739ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 966860, '2021-07-26 02:15:00'::timestamp without time zone, 0.92459, 0.92474, 0.92434, 0.92467, 839, 0, '2021-07-26 08:31:04'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 966860 AND pricedatetime = '2021-07-26 02:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:14 Duration: 10s420ms Database: acaweb_fx User: postgres
2 72,132 4h8m33s 50ms 3s484ms 206ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) select distinct ?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from autochartist_results where (breakout = ?.? and resx0 = ?::timestamp without time zone and resx1 = ?::timestamp without time zone and supportx0 = ?::timestamp without time zone and supportx1 = ?::timestamp without time zone and resy0 = ?.? and resy1 = ?.? and supporty0 = ?.? and supporty1 = ?.? and symbolid = ?) or resultid = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 00 3,730 17m34s 282ms 01 4,921 20m52s 254ms 02 5,052 24m38s 292ms 03 4,606 22m29s 292ms 04 1,542 5m31s 214ms 05 1,191 3m13s 162ms 06 1,440 4m27s 185ms 07 1,929 5m27s 170ms 08 2,673 9m 202ms 09 3,620 9m53s 163ms 10 2,556 7m34s 177ms 11 3,556 10m23s 175ms 12 3,071 10m45s 210ms 13 3,360 12m12s 217ms 14 3,076 9m5s 177ms 15 4,130 11m55s 173ms 16 4,439 14m53s 201ms 17 3,018 9m16s 184ms 18 2,663 7m34s 170ms 19 3,066 9m3s 177ms 20 2,906 7m52s 162ms 21 2,937 8m12s 167ms 22 2,650 6m31s 147ms [ User: postgres - Total duration: 4h8m33s - Times executed: 72132 ]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '954111-1|44400.7292|44403.1562|44400.6667|44403.0104|0.9216|0.9202|0.9196|0.919', 954111, 3.000000000000000000000000000000, 'Falling Wedge', 4, '2021-07-26 01:29:42'::timestamp without time zone, - 1, 0.489116622947861679000000000000, - 1.000000000000000000000000000000, 0.127263603438495465100000000000, 0.124224892974093920100000000000, 0.071854946975290961980000000000, 0.918542325538810877600000000000, 0.919182635641171197400000000000, '2021-07-26 04:15:00'::timestamp without time zone, '2021-07-27 10:22:30'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 04:15:00'::timestamp without time zone, 0.922189999999999954200000000000, 0.919529999999999958500000000000, '2021-07-23 17:30:00'::timestamp without time zone, '2021-07-26 03:45:00'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 00:15:00'::timestamp without time zone, 0.921560000000000045800000000000, 0.920239999999999946900000000000, 0.919649999999999967500000000000, 0.918980000000000019100000000000, - 0.000020303030303028741270000000, - 0.000032195121951221926850000000, 1.919074762716650229000000000000, 0.478915558983019573600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 04:15:00'::timestamp without time zone, 0.919640000000000013000000000000, 49, 0, 0.001585000000000003073000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 17:30:00'::timestamp without time zone and resx1 = '2021-07-26 03:45:00'::timestamp without time zone and supportx0 = '2021-07-23 16:00:00'::timestamp without time zone and supportx1 = '2021-07-26 00:15:00'::timestamp without time zone and resy0 = 0.921560000000000045800000000000 and resy1 = 0.920239999999999946900000000000 and supporty0 = 0.919649999999999967500000000000 and supporty1 = 0.918980000000000019100000000000 and symbolid = 954111) or resultid = '954111-1|44400.7292|44403.1562|44400.6667|44403.0104|0.9216|0.9202|0.9196|0.919') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:30:12 Duration: 3s484ms Database: acaweb_fx User: postgres
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '1028356-1|44398.0833|44399.9896|44398.9688|44403.2917|1.0599|1.0601|1.054|1.0542', 1028356, 7.000000000000000000000000000000, 'Rectangle', 4, '2021-07-26 06:30:23'::timestamp without time zone, 1, 0.156892141815342722800000000000, - 1.000000000000000000000000000000, 0.414645415661908323100000000000, 0.678179071776197295300000000000, 0.359230781615771210800000000000, 1.055945374693880057000000000000, 1.057100899265312366000000000000, '2021-07-26 08:15:00'::timestamp without time zone, '2021-07-28 23:22:30'::timestamp without time zone, '2021-07-21 02:00:00'::timestamp without time zone, '2021-07-26 08:15:00'::timestamp without time zone, 1.058030000000000026000000000000, 1.055129999999999901000000000000, '2021-07-21 02:00:00'::timestamp without time zone, '2021-07-22 23:45:00'::timestamp without time zone, '2021-07-21 23:15:00'::timestamp without time zone, '2021-07-26 07:00:00'::timestamp without time zone, 1.059930000000000039000000000000, 1.060110000000000108000000000000, 1.054019999999999957000000000000, 1.054249999999999909000000000000, 0.000001074766355139964883000000, 0.000000994475138121928050700000, 1.387568034389999205000000000000, 0.279314617218305527600000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 08:15:00'::timestamp without time zone, 1.055120000000000058000000000000, 303, 0, 0.005885000000000140119000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-21 02:00:00'::timestamp without time zone and resx1 = '2021-07-22 23:45:00'::timestamp without time zone and supportx0 = '2021-07-21 23:15:00'::timestamp without time zone and supportx1 = '2021-07-26 07:00:00'::timestamp without time zone and resy0 = 1.059930000000000039000000000000 and resy1 = 1.060110000000000108000000000000 and supporty0 = 1.054019999999999957000000000000 and supporty1 = 1.054249999999999909000000000000 and symbolid = 1028356) or resultid = '1028356-1|44398.0833|44399.9896|44398.9688|44403.2917|1.0599|1.0601|1.054|1.0542') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:57 Duration: 3s415ms Database: acaweb_fx User: postgres
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '954111-1|44400.6042|44403.1562|44400.6667|44403.0104|0.9222|0.9202|0.9196|0.919', 954111, 3.000000000000000000000000000000, 'Falling Wedge', 5, '2021-07-26 01:29:42'::timestamp without time zone, - 1, 0.930360495219786254300000000000, - 1.000000000000000000000000000000, 0.199641856834565451000000000000, 0.077739269528130150460000000000, 0.074443413224301938080000000000, 0.917682102326861426400000000000, 0.918824209302858907500000000000, '2021-07-26 04:15:00'::timestamp without time zone, '2021-07-27 11:07:30'::timestamp without time zone, '2021-07-23 14:30:00'::timestamp without time zone, '2021-07-26 04:15:00'::timestamp without time zone, 0.918760000000000021100000000000, 0.919529999999999958500000000000, '2021-07-23 14:30:00'::timestamp without time zone, '2021-07-26 03:45:00'::timestamp without time zone, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 00:15:00'::timestamp without time zone, 0.922189999999999954200000000000, 0.920239999999999946900000000000, 0.919649999999999967500000000000, 0.918980000000000019100000000000, - 0.000020303030303028741270000000, - 0.000036792452830188815380000000, 2.796067786384582643000000000000, 0.642354879638652676000000000000, 'Reversal', 0.000000000000000000000000000000, '2021-07-26 04:15:00'::timestamp without time zone, 0.919640000000000013000000000000, 55, 0, 0.001899999999999957279000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = - 1.000000000000000000000000000000 and resx0 = '2021-07-23 14:30:00'::timestamp without time zone and resx1 = '2021-07-26 03:45:00'::timestamp without time zone and supportx0 = '2021-07-23 16:00:00'::timestamp without time zone and supportx1 = '2021-07-26 00:15:00'::timestamp without time zone and resy0 = 0.922189999999999954200000000000 and resy1 = 0.920239999999999946900000000000 and supporty0 = 0.919649999999999967500000000000 and supporty1 = 0.918980000000000019100000000000 and symbolid = 954111) or resultid = '954111-1|44400.6042|44403.1562|44400.6667|44403.0104|0.9222|0.9202|0.9196|0.919') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:30:11 Duration: 3s397ms Database: acaweb_fx User: postgres
3 60,487 2h39m 50ms 14m3s 157ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 00 1,889 4m49s 153ms 01 2,254 7m 186ms 02 3,762 10m47s 171ms 03 4,408 46m29s 632ms 04 2,091 4m14s 121ms 05 1,215 1m51s 91ms 06 1,818 3m17s 108ms 07 1,265 2m23s 113ms 08 4,282 10m2s 140ms 09 2,992 4m49s 96ms 10 2,291 3m56s 103ms 11 2,272 3m49s 100ms 12 2,294 4m46s 124ms 13 2,096 4m12s 120ms 14 3,047 5m11s 102ms 15 4,358 7m36s 104ms 16 4,715 9m22s 119ms 17 2,134 4m35s 129ms 18 2,951 5m21s 108ms 19 2,632 4m57s 113ms 20 2,115 3m18s 93ms 21 2,013 3m44s 111ms 22 1,591 2m20s 88ms 23 2 225ms 112ms [ User: postgres - Total duration: 2h39m - Times executed: 60487 ]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 00:30:00', reason = 'Pattern formed a Breakout pattern.' WHERE uniqueIndex = '|960521|0.73549|2|2021-07-23 17:45:00|1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Duration: 14m3s Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:45:00', reason = 'Pattern formed a Breakout pattern (see |974475|87.861|2|2021-07-26 03:45:00|-1|1).' WHERE uniqueIndex = '|974475|87.861|2|2021-07-23 21:15:00|1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Duration: 5m47s Database: acaweb_fx User: postgres
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2021-07-26 03:30:00', reason = 'Pattern formed a Breakout pattern (see |1032237|0.60653|1|2021-07-26 03:30:00|1|1).' WHERE uniqueIndex = '|1032237|0.60653|1|2021-07-25 12:00:00|-1|-1' and relevant = 1;
Date: 2021-07-26 03:06:25 Duration: 4m45s Database: acaweb_fx User: postgres
4 56,431 3h22m25s 50ms 5s12ms 215ms insert into keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errormargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestprice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) select distinct ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?, ?, ?.?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?.?, ?::timestamp without time zone, ?, ?.?, ?.?, ?, ?, ?.?, ?.?, ?::timestamp without time zone, ?, ?, ?.?, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from keylevels_results where uniquepointsvalue = ?) limit ? on conflict do nothing;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 00 1,754 10m54s 373ms 01 1,943 14m20s 443ms 02 3,294 22m13s 404ms 03 3,205 21m11s 396ms 04 2,246 7m29s 199ms 05 1,578 3m47s 143ms 06 1,650 4m38s 168ms 07 1,817 5m34s 183ms 08 3,893 11m43s 180ms 09 2,802 7m5s 151ms 10 2,095 5m50s 167ms 11 2,935 8m34s 175ms 12 2,547 8m40s 204ms 13 2,074 7m43s 223ms 14 2,734 7m17s 159ms 15 3,614 9m37s 159ms 16 3,894 11m49s 182ms 17 2,162 7m7s 197ms 18 2,512 6m27s 154ms 19 2,201 6m7s 167ms 20 2,259 5m30s 146ms 21 1,688 5m2s 178ms 22 1,533 3m36s 141ms 23 1 55ms 55ms [ User: postgres - Total duration: 3h22m25s - Times executed: 56431 ]
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 06:30:24'::timestamp without time zone, '', 0.500000000000000000000000000000, 3, 76, 202.849999999999994300000000000000, '2021-07-19 17:00:00', '2021-07-09 16:00:00', '2021-07-07 13:00:00', '', '', '', '', '', '', '', 152, 202.324999999999988600000000000000, '2021-07-23 18:00:00'::timestamp without time zone, '2021-07-23 18:00:00', 0.000000000000000000000000000000, 0.570000000000000284200000000000, 1, 1029793, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1029793|202.85|2|2021-07-23 18:00:00|1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-07 13:00:00', 201.250000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1029793|202.85|2|2021-07-23 18:00:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:55 Duration: 5s12ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 01:43:43'::timestamp without time zone, '', 0.500000000000000000000000000000, 4, 48, 303.550000000000011400000000000000, '2021-07-20 16:30:00', '2021-07-20 12:45:00', '2021-07-19 13:15:00', '2021-07-19 13:00:00', '', '', '', '', '', '', 120, 303.189999999999997700000000000000, '2021-07-23 18:15:00'::timestamp without time zone, '2021-07-23 18:15:00', 0.000000000000000000000000000000, 0.362500000000000044400000000000, 1, 1026969, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1026969|303.55|2|2021-07-23 18:15:00|1|-1', 0.000000000000000000000000000000, 0.000000000000000000000000000000, 3, '2021-07-19 13:00:00', 301.199999999999988600000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1026969|303.55|2|2021-07-23 18:15:00|1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:44:14 Duration: 4s673ms Database: acaweb_fx User: postgres
-
INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 6.000000000000000000000000000000, - 1, 2, '2021-07-26 06:30:22'::timestamp without time zone, '2021-07-26 09:15:00', 0.073000000000000231370000000000, 6, 76, 21.362999999999999540000000000000, '2021-07-26 03:00:00', '2021-07-26 01:30:00', '2021-07-23 23:45:00', '2021-07-23 22:00:00', '2021-07-23 20:15:00', '2021-07-23 13:15:00', '', '', '', '', 177, 21.353249999999999180000000000000, '2021-07-26 09:15:00'::timestamp without time zone, '2021-07-26 09:15:00', 21.411999999999999030000000000000, 0.014999999999999999440000000000, - 1, 982690, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|982690|21.363|2|2021-07-26 09:15:00|2021-07-26 09:15:00|-1|-1', 21.463740000000001370000000000000, 0.100740000000001828080000000000, 2, '2021-07-23 13:15:00', 21.544000000000000480000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|982690|21.363|2|2021-07-26 09:15:00|2021-07-26 09:15:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 08:30:57 Duration: 3s610ms Database: acaweb_fx User: postgres
5 45,617 9h28m9s 50ms 11s449ms 747ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 00 371 1m17s 209ms 01 1,843 34m53s 1s135ms 02 1,934 43m46s 1s358ms 03 2,045 48m22s 1s419ms 04 1,985 30m36s 925ms 05 1,528 10m23s 408ms 06 1,661 18m38s 673ms 07 1,861 26m17s 847ms 08 1,830 37m8s 1s217ms 09 1,660 8m12s 296ms 10 2,188 21m3s 577ms 11 2,231 15m43s 422ms 12 1,775 19m24s 655ms 13 2,331 22m49s 587ms 14 1,757 18m22s 627ms 15 2,139 25m10s 706ms 16 2,932 33m3s 676ms 17 2,661 44m9s 995ms 18 2,411 22m 547ms 19 2,561 34m43s 813ms 20 1,849 12m3s 391ms 21 2,207 25m3s 681ms 22 1,857 14m51s 480ms [ User: postgres - Total duration: 9h28m9s - Times executed: 45617 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016077, '2021-07-26 08:00:00'::timestamp without time zone, 1.05487, 1.05527, 1.05487, 1.05527, 1452, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1016077 AND pricedatetime = '2021-07-26 08:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:14 Duration: 11s449ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982436, '2021-07-26 09:00:00'::timestamp without time zone, 0.92483, 0.92513, 0.9245, 0.92483, 2163, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982436 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:13 Duration: 10s993ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919758, '2021-07-26 02:00:00'::timestamp without time zone, 1.87155, 1.87157, 1.86939, 1.86988, 4408, 0, '2021-07-26 08:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 919758 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:16 Duration: 10s136ms Database: acaweb_fx User: postgres
6 24,036 4h56m17s 50ms 8s764ms 739ms insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 00 783 1m49s 140ms 01 885 24m41s 1s674ms 02 969 17m42s 1s96ms 03 1,023 27m37s 1s620ms 04 983 20m38s 1s260ms 05 733 4m7s 337ms 06 967 10m1s 622ms 07 898 10m51s 725ms 08 790 13m29s 1s24ms 09 1,081 3m29s 194ms 10 1,184 13m51s 702ms 11 920 3m16s 213ms 12 1,174 14m19s 732ms 13 1,221 9m34s 470ms 14 1,152 14m31s 756ms 15 1,137 19m35s 1s33ms 16 1,515 13m16s 526ms 17 1,340 28m53s 1s293ms 18 1,119 10m5s 541ms 19 1,280 19m9s 898ms 20 933 3m40s 236ms 21 1,028 7m2s 410ms 22 921 4m29s 292ms [ User: postgres - Total duration: 4h56m17s - Times executed: 24036 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 962028, '2021-07-26 02:00:00'::timestamp without time zone, 1.8704, 1.8708, 1.8697, 1.8704, 690, 0, '2021-07-26 03:02:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 962028 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 03:02:34 Duration: 8s764ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026601, '2021-07-26 17:00:00'::timestamp without time zone, 8770.4, 8783.6, 8748.9, 8761.5, 2946, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026601 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s989ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002778, '2021-07-26 17:00:00'::timestamp without time zone, 81.387, 81.493, 81.299, 81.483, 7228, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1002778 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s984ms Database: acaweb_fx User: postgres
7 23,753 44m54s 50ms 2s575ms 113ms select upsert_t15 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 00 1,523 4m56s 194ms 01 1,813 5m24s 178ms 02 2,218 6m18s 170ms 03 1,875 5m32s 177ms 04 726 1m5s 89ms 05 812 1m3s 78ms 06 799 1m12s 90ms 07 933 1m16s 81ms 08 360 34s447ms 95ms 09 1,382 1m54s 82ms 10 703 1m6s 94ms 11 1,587 2m21s 89ms 12 711 55s835ms 78ms 13 1,325 1m48s 81ms 14 813 1m3s 78ms 15 678 51s720ms 76ms 16 712 54s302ms 76ms 17 1,257 2m4s 98ms 18 541 38s167ms 70ms 19 507 35s551ms 70ms 20 740 57s155ms 77ms 21 1,089 1m31s 84ms 22 649 47s720ms 73ms [ User: postgres - Total duration: 44m54s - Times executed: 23753 ]
-
SELECT upsert_t15 ('2021-07-26 03:35:00', '7400.53', '7402.53', '7396.53', '7399.53', '119', '1032156', '0', '2021-07-26 02:55:19.787', '2021-07-26 02:55:19.773');
Date: 2021-07-26 02:55:22 Duration: 2s575ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t15 ('2021-07-26 01:00:00', '77.0445', '77.22', '77.0445', '77.1915', '335', '1014926', '0', '2021-07-26 00:15:02.179', '2021-07-26 00:15:02.082');
Date: 2021-07-26 00:15:04 Duration: 2s326ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t15 ('2021-07-26 04:05:00', '7400.53', '7403.53', '7395.53', '7397.53', '119', '1032156', '0', '2021-07-26 03:25:20.014', '2021-07-26 03:25:20.001');
Date: 2021-07-26 03:25:21 Duration: 1s776ms Database: acaweb_fx User: postgres Bind query: yes
8 21,968 5h13m28s 50ms 4m42s 856ms select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 00 1,924 51m32s 1s607ms 01 1,854 50m19s 1s628ms 02 1,621 44m22s 1s642ms 03 1,719 47m30s 1s657ms 04 915 9m4s 594ms 05 953 6m12s 391ms 06 914 7m48s 512ms 07 828 6m56s 502ms 08 806 8m11s 609ms 09 764 5m22s 422ms 10 806 5m40s 422ms 11 784 6m40s 511ms 12 742 8m11s 662ms 13 834 7m19s 526ms 14 677 5m29s 486ms 15 745 4m20s 350ms 16 690 6m16s 545ms 17 654 5m48s 532ms 18 729 6m3s 499ms 19 757 5m33s 439ms 20 841 5m34s 398ms 21 811 6m14s 462ms 22 574 2m51s 298ms 23 26 3s310ms 127ms [ User: postgres - Total duration: 5h13m28s - Times executed: 21968 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 627 AND groupid = 4454 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 12:04:43 Duration: 2m14s Database: acaweb_fx User: postgres Bind query: yes
9 14,727 32m13s 50ms 2s121ms 131ms select * from powerstatslatestprfprice (?, ?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 00 1,071 3m14s 181ms 01 1,166 4m4s 209ms 02 1,069 3m18s 185ms 03 1,343 5m42s 255ms 04 622 1m6s 106ms 05 576 49s830ms 86ms 06 582 53s988ms 92ms 07 618 57s6ms 92ms 08 633 1m3s 100ms 09 530 54s363ms 102ms 10 676 1m7s 99ms 11 566 53s962ms 95ms 12 701 1m8s 97ms 13 724 1m13s 101ms 14 619 54s596ms 88ms 15 736 1m6s 90ms 16 593 57s301ms 96ms 17 455 40s509ms 89ms 18 294 23s761ms 80ms 19 330 26s610ms 80ms 20 276 24s873ms 90ms 21 272 27s322ms 100ms 22 275 24s726ms 89ms [ User: postgres - Total duration: 32m13s - Times executed: 14727 ]
-
select * from PowerStatsLatestPRFPrice ('1016211', '15');
Date: 2021-07-26 03:47:36 Duration: 2s121ms Database: acaweb_fx User: postgres Bind query: yes
-
select * from PowerStatsLatestPRFPrice ('983400', '15');
Date: 2021-07-26 03:47:05 Duration: 2s17ms Database: acaweb_fx User: postgres Bind query: yes
-
select * from PowerStatsLatestPRFPrice ('1016211', '15');
Date: 2021-07-26 03:47:36 Duration: 1s758ms Database: acaweb_fx User: postgres Bind query: yes
10 12,998 3h14m19s 50ms 2m29s 896ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 00 918 25m24s 1s660ms 01 915 28m6s 1s842ms 02 847 20m55s 1s482ms 03 860 24m53s 1s736ms 04 518 7m6s 822ms 05 552 4m40s 508ms 06 521 6m28s 745ms 07 552 5m17s 574ms 08 508 5m35s 659ms 09 485 4m47s 592ms 10 569 6m2s 636ms 11 481 4m44s 592ms 12 505 5m12s 617ms 13 522 6m36s 759ms 14 460 4m22s 570ms 15 474 3m57s 501ms 16 495 3m58s 481ms 17 480 6m24s 800ms 18 477 4m48s 605ms 19 475 3m53s 491ms 20 473 4m27s 566ms 21 493 4m6s 499ms 22 379 2m24s 380ms 23 39 4s560ms 116ms [ User: postgres - Total duration: 3h14m19s - Times executed: 12998 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:06:32 Duration: 1m20s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:50:34 Duration: 1m4s Database: acaweb_fx User: postgres Bind query: yes
11 10,112 33m31s 50ms 5s149ms 198ms insert into fibonacci_results (bandwidth, pattern, gmttimefound, direction, patternstarttime, patternendtime, patternstartprice, patternendprice, qtytp, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, patternlengthbars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) select distinct ?.?, ?, ?::timestamp without time zone, ?, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?, ?, ?, ?, ?, current_timestamp::timestamp without time zone where not exists ( select ? from fibonacci_results where pattern ilike ? and direction = ? and patternstarttime = ?::timestamp without time zone and patternstartprice = ?.? and qtytp = ? and patternlengthbars = ? and ratiosfound = ? and temporarypattern = ? and symbolid = ? and timex = ?::timestamp without time zone and timea = ?::timestamp without time zone and timeb = ?::timestamp without time zone and timec = ?::timestamp without time zone and timed = ?::timestamp without time zone) limit ? on conflict do nothing;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 26 00 497 2m27s 296ms 01 521 2m40s 308ms 02 635 3m8s 296ms 03 558 3m17s 354ms 04 325 1m1s 189ms 05 169 25s64ms 148ms 06 262 47s86ms 179ms 07 247 40s22ms 162ms 08 346 1m 175ms 09 380 1m 159ms 10 335 1m 180ms 11 492 1m15s 154ms 12 477 1m50s 232ms 13 545 1m42s 188ms 14 416 1m12s 174ms 15 782 2m3s 157ms 16 603 1m46s 176ms 17 408 1m10s 171ms 18 435 1m2s 143ms 19 511 1m20s 157ms 20 424 56s504ms 133ms 21 401 56s175ms 140ms 22 343 44s467ms 129ms [ User: postgres - Total duration: 33m31s - Times executed: 10112 ]
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000000000000000000000000000, 'ABCD', '2021-07-26 01:49:50'::timestamp without time zone, 1, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 04:00:00'::timestamp without time zone, 92.804000000000002050000000000000, - 1.000000000000000000000000000000, 4, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 92.990999999999999660000000000000, '2021-07-23 17:30:00'::timestamp without time zone, 92.847999999999998980000000000000, '2021-07-26 00:30:00'::timestamp without time zone, 92.933999999999997500000000000000, '2021-07-26 03:30:00'::timestamp without time zone, 92.790999999999996820000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.752375000000016669400000000000, - 1.000000000000000000000000000000, 4.746402182878992626000000000000, 34, 92.933999999999997500000000000000, 92.879378860384093740000000000000, 93.022378860384094420000000000000, 92.903419647025401670000000000000, 92.972898809878500970000000000000, 92.862499999999997160000000000000, 92.845621139615900570000000000000, 1026480, 0.495249999999966661400000000000, 'BC=0.618*AB (0.601) ', 0, 'ABCD|1|2021-07-23 16:00:00|92.804|-1|4|34|BC=0.618*AB (0.601)|0|1026480|1899-12-29 00:00:00|2021-07-23 17:30:00|2021-07-26 00:30:00|2021-07-26 03:30:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'ABCD' AND direction = 1 AND patternstarttime = '2021-07-23 16:00:00'::timestamp without time zone AND patternstartprice = 92.804000000000002050000000000000 AND qtytp = 4 AND patternlengthbars = 34 AND ratiosfound = 'BC=0.618*AB (0.601) ' AND temporarypattern = 0 AND symbolid = 1026480 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '2021-07-23 17:30:00'::timestamp without time zone AND timeb = '2021-07-26 00:30:00'::timestamp without time zone AND timec = '2021-07-26 03:30:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:50:59 Duration: 5s149ms Database: acaweb_fx User: postgres
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 2.000000000000000000000000000000, 'ABCD', '2021-07-26 01:49:50'::timestamp without time zone, 1, '2021-07-23 16:00:00'::timestamp without time zone, '2021-07-26 04:00:00'::timestamp without time zone, 92.804000000000002050000000000000, - 1.000000000000000000000000000000, 4, - 1.000000000000000000000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 92.990999999999999660000000000000, '2021-07-23 17:30:00'::timestamp without time zone, 92.847999999999998980000000000000, '2021-07-26 00:30:00'::timestamp without time zone, 92.933999999999997500000000000000, '2021-07-26 03:30:00'::timestamp without time zone, 92.790999999999996820000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.752375000000016669400000000000, - 1.000000000000000000000000000000, 4.746402182878992626000000000000, 34, 92.933999999999997500000000000000, 92.879378860384093740000000000000, 93.022378860384094420000000000000, 92.903419647025401670000000000000, 92.972898809878500970000000000000, 92.862499999999997160000000000000, 92.845621139615900570000000000000, 1026480, 0.495249999999966661400000000000, 'BC=0.618*AB (0.601) ', 0, 'ABCD|1|2021-07-23 16:00:00|92.804|-1|4|34|BC=0.618*AB (0.601)|0|1026480|1899-12-29 00:00:00|2021-07-23 17:30:00|2021-07-26 00:30:00|2021-07-26 03:30:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'ABCD' AND direction = 1 AND patternstarttime = '2021-07-23 16:00:00'::timestamp without time zone AND patternstartprice = 92.804000000000002050000000000000 AND qtytp = 4 AND patternlengthbars = 34 AND ratiosfound = 'BC=0.618*AB (0.601) ' AND temporarypattern = 0 AND symbolid = 1026480 AND timex = '1899-12-29 00:00:00'::timestamp without time zone AND timea = '2021-07-23 17:30:00'::timestamp without time zone AND timeb = '2021-07-26 00:30:00'::timestamp without time zone AND timec = '2021-07-26 03:30:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 03:50:59 Duration: 5s117ms Database: acaweb_fx User: postgres
-
INSERT INTO Fibonacci_Results (Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex, timex, pricea, timea, priceb, timeb, pricec, timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, 'Gartley', '2021-07-25 22:58:43'::timestamp without time zone, - 1, '2021-07-23 04:30:00'::timestamp without time zone, '2021-07-26 00:00:00'::timestamp without time zone, 7.770699999999999718000000000000, - 1.000000000000000000000000000000, 5, 7.770699999999999718000000000000, '2021-07-23 04:30:00'::timestamp without time zone, 7.767500000000000071000000000000, '2021-07-23 15:30:00'::timestamp without time zone, 7.769499999999999851000000000000, '2021-07-23 19:00:00'::timestamp without time zone, 7.767999999999999794000000000000, '2021-07-23 22:30:00'::timestamp without time zone, 7.770015684408959622000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.673255281286772477800000000000, - 1.000000000000000000000000000000, 4.099754381935269088000000000000, 39, 7.767999999999999794000000000000, 7.768769922933730143000000000000, 7.766754238524770315000000000000, 7.768431051333646309000000000000, 7.767451694233572290000000000000, 7.769007842204479708000000000000, 7.769245761475229272000000000000, 962192, 0.653489437426454933200000000000, 'BC=0.786*AB (0.75) ', 0, 'Gartley|-1|2021-07-23 04:30:00|7.7707|-1|5|39|BC=0.786*AB (0.75)|0|962192|2021-07-23 04:30:00|2021-07-23 15:30:00|2021-07-23 19:00:00|2021-07-23 22:30:00|1899-12-29 00:00:00', - 1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'Gartley' AND direction = - 1 AND patternstarttime = '2021-07-23 04:30:00'::timestamp without time zone AND patternstartprice = 7.770699999999999718000000000000 AND qtytp = 5 AND patternlengthbars = 39 AND ratiosfound = 'BC=0.786*AB (0.75) ' AND temporarypattern = 0 AND symbolid = 962192 AND timex = '2021-07-23 04:30:00'::timestamp without time zone AND timea = '2021-07-23 15:30:00'::timestamp without time zone AND timeb = '2021-07-23 19:00:00'::timestamp without time zone AND timec = '2021-07-23 22:30:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;
Date: 2021-07-26 00:59:13 Duration: 3s397ms Database: acaweb_fx User: postgres
12 9,948 1h17m41s 50ms 10s274ms 468ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone); insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t15 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 00 173 41s144ms 237ms 01 416 4m21s 628ms 02 460 6m3s 790ms 03 447 9m5s 1s220ms 04 351 4m2s 690ms 05 271 1m26s 320ms 06 287 2m46s 581ms 07 248 2m37s 635ms 08 250 2m47s 670ms 09 649 2m38s 244ms 10 492 2m24s 293ms 11 622 3m10s 305ms 12 590 2m39s 270ms 13 870 4m49s 333ms 14 627 4m16s 408ms 15 888 4m54s 331ms 16 676 4m55s 436ms 17 311 3m23s 653ms 18 266 1m43s 388ms 19 296 3m 609ms 20 255 1m52s 441ms 21 266 2m16s 513ms 22 237 1m44s 439ms [ User: postgres - Total duration: 1h17m41s - Times executed: 9948 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968670, '2021-07-26 09:00:00'::timestamp without time zone, 0.92498, 0.92519, 0.92468, 0.9247, 1201, 0, '2021-07-26 08:31:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968670 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 968670, '2021-07-26 09:15:00'::timestamp without time zone, 0.9247, 0.9249, 0.92452, 0.92486, 982, 0, '2021-07-26 08:31:05'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 968670 AND pricedatetime = '2021-07-26 09:15:00'::timestamp without time zone);
Date: 2021-07-26 08:31:16 Duration: 10s274ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016136, '2021-07-26 16:30:00'::timestamp without time zone, 25.219, 25.23, 25.168, 25.204, 779, 0, '2021-07-26 17:03:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1016136 AND pricedatetime = '2021-07-26 16:30:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016136, '2021-07-26 16:45:00'::timestamp without time zone, 25.202, 25.244, 25.194, 25.222, 814, 0, '2021-07-26 17:03:11'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 1016136 AND pricedatetime = '2021-07-26 16:45:00'::timestamp without time zone);
Date: 2021-07-26 17:03:18 Duration: 6s412ms Database: acaweb_fx User: postgres
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969080, '2021-07-26 17:00:00'::timestamp without time zone, 10.20087, 10.20332, 10.19727, 10.19731, 516, 0, '2021-07-26 16:33:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969080 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone); INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 969080, '2021-07-26 17:15:00'::timestamp without time zone, 10.19731, 10.19804, 10.19194, 10.19235, 516, 0, '2021-07-26 16:33:13'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T15 WHERE symbolid = 969080 AND pricedatetime = '2021-07-26 17:15:00'::timestamp without time zone);
Date: 2021-07-26 16:33:19 Duration: 5s886ms Database: acaweb_fx User: postgres
13 9,613 2h18m32s 50ms 1m24s 864ms select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 26 00 1,013 26m48s 1s587ms 01 945 27m17s 1s733ms 02 769 16m42s 1s304ms 03 779 18m21s 1s414ms 04 359 3m28s 580ms 05 471 5m54s 752ms 06 374 2m59s 478ms 07 407 3m18s 488ms 08 296 2m24s 488ms 09 301 3m11s 636ms 10 247 46s160ms 186ms 11 249 1m24s 339ms 12 273 1m37s 356ms 13 350 1m45s 301ms 14 322 2m31s 469ms 15 338 2m6s 375ms 16 310 1m44s 337ms 17 262 2m16s 520ms 18 283 2m23s 506ms 19 338 2m38s 468ms 20 331 2m28s 447ms 21 347 3m46s 651ms 22 246 2m36s 638ms 23 3 652ms 217ms [ User: postgres - Total duration: 2h18m32s - Times executed: 9613 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321382 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:22 Duration: 1m24s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321382 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:22 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5135 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321484 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:20 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
14 8,062 15m12s 50ms 3s568ms 113ms select upsert_t30 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 00 738 1m39s 134ms 01 1,313 3m13s 147ms 02 1,480 3m49s 155ms 03 990 2m1s 122ms 04 269 19s419ms 72ms 05 69 4s807ms 69ms 06 156 12s680ms 81ms 07 148 11s88ms 74ms 08 110 9s779ms 88ms 09 214 18s327ms 85ms 10 179 17s485ms 97ms 11 290 20s219ms 69ms 12 148 11s194ms 75ms 13 253 17s329ms 68ms 14 94 6s329ms 67ms 15 150 10s641ms 70ms 16 162 11s8ms 67ms 17 425 34s291ms 80ms 18 102 6s721ms 65ms 19 122 8s529ms 69ms 20 93 6s456ms 69ms 21 409 32s614ms 79ms 22 148 9s791ms 66ms [ User: postgres - Total duration: 15m12s - Times executed: 8062 ]
-
SELECT upsert_t30 ('2021-07-20 22:30:00', '181.7', '182.465', '181.01', '182.325', '3323', '1028827', '0', '2021-07-26 01:46:43.045', '2021-07-26 01:46:42.222');
Date: 2021-07-26 01:46:46 Duration: 3s568ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t30 ('2021-07-20 22:30:00', '181.7', '182.465', '181.01', '182.325', '3323', '1028827', '0', '2021-07-26 01:17:05.51', '2021-07-26 01:17:04.94');
Date: 2021-07-26 01:17:08 Duration: 3s478ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT upsert_t30 ('2021-07-20 22:30:00', '181.7', '182.465', '181.01', '182.325', '3323', '1028827', '0', '2021-07-26 02:17:22.467', '2021-07-26 02:17:21.685');
Date: 2021-07-26 02:17:25 Duration: 3s132ms Database: acaweb_fx User: postgres Bind query: yes
15 8,038 2h18m57s 50ms 2m30s 1s37ms select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 26 00 742 16m55s 1s369ms 01 688 18m59s 1s655ms 02 630 17m5s 1s627ms 03 670 15m25s 1s380ms 04 323 7m2s 1s307ms 05 340 4m27s 787ms 06 298 4m13s 849ms 07 306 3m41s 723ms 08 277 4m30s 976ms 09 219 2m33s 701ms 10 308 5m20s 1s41ms 11 245 3m48s 933ms 12 261 2m33s 589ms 13 288 3m35s 748ms 14 272 2m58s 657ms 15 304 3m18s 653ms 16 286 2m19s 488ms 17 279 6m12s 1s334ms 18 247 3m14s 789ms 19 252 3m7s 742ms 20 270 3m9s 702ms 21 281 3m 642ms 22 222 1m19s 359ms 23 30 3s180ms 106ms [ User: postgres - Total duration: 2h18m57s - Times executed: 8038 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m30s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 1m33s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4876 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 11:31:54 Duration: 1m22s Database: acaweb_fx User: postgres Bind query: yes
16 7,642 11m54s 50ms 2s150ms 93ms select updatedatafeedslatestrun (?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 00 968 1m32s 95ms 01 1,360 2m6s 92ms 02 1,174 1m48s 92ms 03 1,240 1m53s 91ms 04 260 27s339ms 105ms 05 87 7s113ms 81ms 06 211 17s494ms 82ms 07 137 14s68ms 102ms 08 388 39s858ms 102ms 09 116 11s792ms 101ms 10 101 9s277ms 91ms 11 112 9s750ms 87ms 12 125 12s174ms 97ms 13 188 19s566ms 104ms 14 131 11s577ms 88ms 15 164 14s912ms 90ms 16 137 13s437ms 98ms 17 128 11s767ms 91ms 18 123 9s788ms 79ms 19 174 17s844ms 102ms 20 106 8s751ms 82ms 21 105 8s648ms 82ms 22 107 8s460ms 79ms [ User: postgres - Total duration: 11m54s - Times executed: 7642 ]
-
select updateDatafeedsLatestRun ('PEPPERSTONE');
Date: 2021-07-26 08:31:05 Duration: 2s150ms Database: acaweb_fx User: postgres
-
select updateDatafeedsLatestRun ('BMFN');
Date: 2021-07-26 08:31:06 Duration: 1s631ms Database: acaweb_fx User: postgres
-
select updateDatafeedsLatestRun ('ICMARKETS');
Date: 2021-07-26 08:31:05 Duration: 1s459ms Database: acaweb_fx User: postgres
17 7,602 13m40s 50ms 2s134ms 107ms insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select ?, ?, ?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?, ? where not exists ( select ? from sa_hist_bigmove where symbolid = ? and datetime = ? and cast(percentile * ? as integer) = ? and direction = ?) returning id;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 03 7,602 13m40s 107ms [ User: postgres - Total duration: 13m40s - Times executed: 7602 ]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 919707, '2021-07-25 20:00:00', '', - 0.610590217640184, 0.03, - 1, 0.00207999999999999, 1.69287, 1.70327, '2021-07-21 17:00:00', '2021-07-21 02:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 919707 AND datetime = '2021-07-25 20:00:00' AND CAST(percentile * 100 AS integer) = 3 AND direction = - 1) RETURNING id;
Date: 2021-07-26 03:02:28 Duration: 2s134ms Database: acaweb_fx User: postgres
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 962263, '2021-07-26 02:00:00', '', 0.208798857100978, 0.99, 1, 0.000569999999999959, 1.3678, 1.36495, '2021-07-21 14:00:00', '2021-07-20 22:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 962263 AND datetime = '2021-07-26 02:00:00' AND CAST(percentile * 100 AS integer) = 99 AND direction = 1) RETURNING id;
Date: 2021-07-26 03:16:17 Duration: 1s832ms Database: acaweb_fx User: postgres
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 1015013, '2021-07-26 03:00:00', '', 0.406818854023825, 0.98, 1, 0.00151300000000001, 1.867115, 1.85955, '2021-07-19 14:00:00', '2021-07-16 20:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 1015013 AND datetime = '2021-07-26 03:00:00' AND CAST(percentile * 100 AS integer) = 98 AND direction = 1) RETURNING id;
Date: 2021-07-26 03:05:17 Duration: 1s807ms Database: acaweb_fx User: postgres
18 7,152 23h55m57s 51ms 11m15s 12s46ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 00 75 1h41m59s 1m21s 01 57 2h40s 2m7s 02 242 1h46m47s 26s475ms 03 136 1h47m54s 47s605ms 04 520 1h1m13s 7s64ms 05 402 53m56s 8s51ms 06 459 56m 7s321ms 07 455 51m32s 6s796ms 08 408 42m22s 6s231ms 09 274 51m6s 11s193ms 10 281 54m3s 11s541ms 11 338 54m12s 9s623ms 12 357 50m59s 8s570ms 13 262 54m24s 12s458ms 14 300 52m 10s402ms 15 286 51m38s 10s835ms 16 266 49m32s 11s175ms 17 242 53m3s 13s154ms 18 293 48m14s 9s880ms 19 238 56m38s 14s280ms 20 256 45m39s 10s700ms 21 268 51m56s 11s627ms 22 266 47m49s 10s788ms 23 471 12m9s 1s548ms [ User: postgres - Total duration: 23h55m57s - Times executed: 7152 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:33:34 Duration: 11m15s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m10s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('0' = 0 OR ar.patternlengthbars <= '0') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:33:20 Duration: 8m17s Database: acaweb_fx User: postgres Bind query: yes
19 6,493 1h29m41s 50ms 1m21s 828ms select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 00 495 12m18s 1s491ms 01 424 12m42s 1s797ms 02 432 7m46s 1s78ms 03 554 15m48s 1s712ms 04 259 2m41s 621ms 05 278 2m24s 519ms 06 180 1m21s 451ms 07 272 2m5s 460ms 08 238 1m42s 431ms 09 214 2m33s 716ms 10 264 2m2s 463ms 11 193 2m36s 809ms 12 216 2m11s 607ms 13 238 2m17s 577ms 14 239 1m26s 363ms 15 295 2m29s 506ms 16 205 59s682ms 291ms 17 234 2m6s 538ms 18 235 1m52s 480ms 19 219 2m8s 585ms 20 260 1m14s 285ms 21 292 4m23s 900ms 22 230 2m27s 639ms 23 27 3s790ms 140ms [ User: postgres - Total duration: 1h29m41s - Times executed: 6493 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5135 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61319120 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:20 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:06 Duration: 1m11s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4858 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61323476 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 03:52:04 Duration: 42s726ms Database: acaweb_fx User: postgres Bind query: yes
20 6,386 16h1m32s 50ms 44m37s 9s34ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 00 90 1h13m8s 48s762ms 01 55 2h33m35s 2m47s 02 212 1h7m2s 18s975ms 03 141 1h34m57s 40s406ms 04 472 28m57s 3s682ms 05 387 26m13s 4s66ms 06 422 32m49s 4s667ms 07 406 36m25s 5s383ms 08 376 29m16s 4s670ms 09 230 23m44s 6s191ms 10 243 31m10s 7s695ms 11 290 26m35s 5s503ms 12 304 30m49s 6s85ms 13 233 27m41s 7s130ms 14 260 32m11s 7s430ms 15 255 28m42s 6s753ms 16 235 31m5s 7s939ms 17 221 38m48s 10s537ms 18 253 33m14s 7s882ms 19 217 32m12s 8s904ms 20 220 28m7s 7s671ms 21 234 26m20s 6s753ms 22 235 26m11s 6s685ms 23 395 2m9s 327ms [ User: postgres - Total duration: 16h1m32s - Times executed: 6386 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:38:28 Duration: 44m37s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:36:10 Duration: 22m20s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:55:21 Duration: 15m10s Database: acaweb_fx User: postgres Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 14s521ms 1h30m28s 6m57s 83 9h38m7s select updateageforrelevantresults ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 26 00 1 36m27s 36m27s 01 1 1h30m28s 1h30m28s 02 1 51m48s 51m48s 04 4 1h14m40s 18m40s 05 4 13m5s 3m16s 06 4 21m39s 5m24s 07 4 18m50s 4m42s 08 4 16m28s 4m7s 09 4 15m47s 3m56s 10 4 20m15s 5m3s 11 4 15m52s 3m58s 12 4 20m26s 5m6s 13 4 19m55s 4m58s 14 4 18m12s 4m33s 15 4 20m7s 5m1s 16 4 18m53s 4m43s 17 4 16m59s 4m14s 18 4 19m3s 4m45s 19 4 19m55s 4m58s 20 4 16m17s 4m4s 21 4 15m41s 3m55s 22 4 15m49s 3m57s 23 4 1m21s 20s335ms [ User: postgres - Total duration: 9h38m7s - Times executed: 83 ]
-
select updateageforrelevantresults ();
Date: 2021-07-26 01:47:31 Duration: 1h30m28s Database: acaweb_fx User: postgres
-
select updateageforrelevantresults ();
Date: 2021-07-26 04:00:26 Duration: 58m23s Database: acaweb_fx User: postgres
-
select updateageforrelevantresults ();
Date: 2021-07-26 02:53:50 Duration: 51m48s Database: acaweb_fx User: postgres
2 88ms 7h51m3s 6m52s 222 1d1h26m23s select stats_createsummarytables_keylevels (cast(? as int));Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 26 00 57 22h32m45s 23m43s 01 1 833ms 833ms 04 21 1h41m44s 4m50s 05 24 22m48s 57s1ms 06 52 22m48s 26s324ms 07 55 19m11s 20s932ms 08 12 7m4s 35s403ms [ User: postgres - Total duration: 1d1h26m23s - Times executed: 222 ]
-
select stats_createSummaryTables_KeyLevels (cast(4446 as int));
Date: 2021-07-26 00:56:05 Duration: 7h51m3s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4385 as int));
Date: 2021-07-26 00:56:10 Duration: 3h21m31s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_KeyLevels (cast(4748 as int));
Date: 2021-07-26 00:54:45 Duration: 3h16m22s Database: acaweb_fx User: postgres
3 52ms 45m15s 3m32s 415 1d31m3s select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 26 00 143 12h21m58s 5m11s 01 67 7h7m17s 6m22s 02 1 44m40s 44m40s 08 45 46m52s 1m2s 09 35 59m23s 1m41s 10 55 55m59s 1m1s 11 16 59m39s 3m43s 12 53 35m11s 39s843ms [ User: postgres - Total duration: 1d31m3s - Times executed: 415 ]
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:56:01 Duration: 45m15s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4871 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:11:06 Duration: 44m40s Database: acaweb_fx User: postgres
-
select initialtrend, breakout, symmetry, clarity, qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified, quality from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 88 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'cp' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 00:54:41 Duration: 43m58s Database: acaweb_fx User: postgres
4 50ms 1h15m33s 3m14s 828 1d20h46m1s select qtytp, replace(symbol, ?, ?) as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ? group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = ? and atbaridentified >= (current_timestamp - interval ?) and atbaridentified <= current_timestamp and type = ? and pattern not ilike ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 26 01 60 5h3m16s 5m3s 02 185 12h50m5s 4m9s 03 172 18h28m46s 6m26s 04 2 1h32m42s 46m21s 12 56 18m32s 19s861ms 13 35 59m14s 1m41s 14 62 58m 56s130ms 15 100 55m42s 33s420ms 16 28 59m39s 2m7s 17 57 54m51s 57s740ms 18 13 1h1m8s 4m42s 19 58 44m 45s529ms [ User: postgres - Total duration: 1d20h46m1s - Times executed: 828 ]
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:42:52 Duration: 1h15m33s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4395 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'kl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 02:43:15 Duration: 1h9m14s Database: acaweb_fx User: postgres
-
select qtytp, replace(symbol, '''', '''''') as symbol, pattern, direction, hourofday, interval, correct, atbaridentified from stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid inner join ( select min(atbaridentified) as min, max(atbaridentified) as max, statsid FROM stats_success t inner join stats_symbols ss on t.symbolid = ss.symbolid where statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%' group by statsid) minmax on ss.statsid = minmax.statsid where ss.statsid = 4385 and atbaridentified >= (current_timestamp - interval '12 months') and atbaridentified <= current_timestamp and type = 'ekl' and pattern not ilike '%NON_LIQUID%';
Date: 2021-07-26 03:43:15 Duration: 1h4m43s Database: acaweb_fx User: postgres
5 0ms 1h41m25s 1m33s 215 5h35m23s select stats_createsummarytables_chartpattens (cast(? as int));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 26 00 47 1h19m34s 1m41s 01 1 3m1s 3m1s 02 1 1h41m25s 1h41m25s 04 20 34m35s 1m43s 05 26 37m12s 1m25s 06 52 37m28s 43s239ms 07 56 39m49s 42s675ms 08 12 2m15s 11s331ms [ User: postgres - Total duration: 5h35m23s - Times executed: 215 ]
-
select stats_createSummaryTables_ChartPattens (cast(4446 as int));
Date: 2021-07-26 02:43:16 Duration: 1h41m25s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4871 as int));
Date: 2021-07-26 00:57:22 Duration: 58m43s Database: acaweb_fx User: postgres
-
select stats_createSummaryTables_ChartPattens (cast(4868 as int));
Date: 2021-07-26 00:18:16 Duration: 19m37s Database: acaweb_fx User: postgres
6 50ms 20m44s 29s834ms 2,669 22h7m7s (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?))) union all (( select distinct ? as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = ? union select distinct ? as patterntype, ar.resultuid as resultuid, ?, ? from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = ? inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?)));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 26 00 60 1h19m30s 1m19s 01 60 2h13m8s 2m13s 02 75 2h10m44s 1m44s 03 70 2h18m22s 1m58s 04 107 49m42s 27s871ms 05 115 38m23s 20s33ms 06 107 47m59s 26s913ms 07 107 42m19s 23s736ms 08 119 48m46s 24s595ms 09 121 46m5s 22s851ms 10 104 51m45s 29s865ms 11 117 42m31s 21s805ms 12 127 45m36s 21s544ms 13 127 50m50s 24s18ms 14 125 42m49s 20s558ms 15 132 39m54s 18s136ms 16 121 55m41s 27s617ms 17 122 48m3s 23s636ms 18 126 27m24s 13s50ms 19 129 36m22s 16s921ms 20 111 1h2m4s 33s556ms 21 121 40m2s 19s858ms 22 129 27m6s 12s609ms 23 137 1m48s 793ms [ User: postgres - Total duration: 22h7m7s - Times executed: 2669 ]
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 03:36:08 Duration: 20m44s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '689' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '689' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 03:36:08 Duration: 13m10s Database: acaweb_fx User: postgres Bind query: yes
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = '558' union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = '558' inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 01:04:50 Duration: 10m48s Database: acaweb_fx User: postgres Bind query: yes
7 694ms 18m47s 26s628ms 1,038 7h40m40s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 26 00 45 34m13s 45s629ms 01 2 1m26s 43s187ms 02 46 44m52s 58s523ms 03 58 23m25s 24s237ms 04 130 27m10s 12s544ms 05 127 19m18s 9s123ms 06 107 21m40s 12s151ms 07 89 24m44s 16s677ms 08 74 20m8s 16s337ms 09 24 15m11s 37s989ms 10 24 18m46s 46s954ms 11 24 15m53s 39s719ms 12 24 18m37s 46s547ms 13 24 18m8s 45s355ms 14 24 14m52s 37s179ms 15 24 17m29s 43s712ms 16 24 17m15s 43s132ms 17 24 20m31s 51s331ms 18 24 20m10s 50s430ms 19 24 17m40s 44s184ms 20 24 15m11s 37s960ms 21 24 14m26s 36s84ms 22 24 17m36s 44s33ms 23 24 1m49s 4s557ms [ User: postgres - Total duration: 7h40m40s - Times executed: 1038 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:55:57 Duration: 18m47s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '690' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('2' = 0 OR s.timegranularity in ('15', '60')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR s.symbol in ('#AAPL', '#TSLA', 'AUDUSD', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'EURCAD', 'EURCHF', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'NAS100', 'NZDJPY', 'NZDUSD', 'SPX500', 'US30', 'USDCAD', 'USDCHF', 'USDJPY', 'WTI', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 00:39:38 Duration: 13m26s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 00:23:32 Duration: 12m38s Database: acaweb_fx User: postgres Bind query: yes
8 51ms 11m15s 12s46ms 7,152 23h55m57s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from autochartist_results ar inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ar.symbolid inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on ar.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on ar.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = ar.resultuid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true where ar.gmttimefound > now() - interval ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 26 00 75 1h41m59s 1m21s 01 57 2h40s 2m7s 02 242 1h46m47s 26s475ms 03 136 1h47m54s 47s605ms 04 520 1h1m13s 7s64ms 05 402 53m56s 8s51ms 06 459 56m 7s321ms 07 455 51m32s 6s796ms 08 408 42m22s 6s231ms 09 274 51m6s 11s193ms 10 281 54m3s 11s541ms 11 338 54m12s 9s623ms 12 357 50m59s 8s570ms 13 262 54m24s 12s458ms 14 300 52m 10s402ms 15 286 51m38s 10s835ms 16 266 49m32s 11s175ms 17 242 53m3s 13s154ms 18 293 48m14s 9s880ms 19 238 56m38s 14s280ms 20 256 45m39s 10s700ms 21 268 51m56s 11s627ms 22 266 47m49s 10s788ms 23 471 12m9s 1s548ms [ User: postgres - Total duration: 23h55m57s - Times executed: 7152 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:33:34 Duration: 11m15s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:52:17 Duration: 10m10s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM autochartist_results ar INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = ar.symbolid INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on ar.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = ar.resultuid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR s.symbol in ('')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('0' = 0 OR ar.patternlengthbars <= '0') and newLevels.filtered = false ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 02:33:20 Duration: 8m17s Database: acaweb_fx User: postgres Bind query: yes
9 50ms 8m2s 10s556ms 2,153 6h18m47s with rar_max as ( ;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 26 00 32 15m41s 29s431ms 01 5 5m4s 1m 02 58 12m36s 13s50ms 03 50 7m29s 8s985ms 04 204 25m50s 7s601ms 05 169 32m19s 11s474ms 06 169 24m38s 8s749ms 07 166 17m38s 6s377ms 08 129 16m28s 7s659ms 09 86 15m38s 10s912ms 10 80 15m32s 11s661ms 11 92 14m7s 9s212ms 12 96 16m18s 10s194ms 13 65 12m5s 11s155ms 14 78 18m23s 14s142ms 15 66 12m59s 11s803ms 16 67 13m15s 11s867ms 17 56 13m9s 14s96ms 18 80 17m42s 13s277ms 19 56 18m46s 20s122ms 20 71 15m8s 12s790ms 21 71 14m20s 12s119ms 22 71 18m25s 15s565ms 23 136 5m8s 2s267ms [ User: postgres - Total duration: 6h18m47s - Times executed: 2153 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 00:08:55 Duration: 8m2s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( ;
Date: 2021-07-26 06:50:42 Duration: 7m7s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( ;
Date: 2021-07-26 02:15:47 Duration: 4m56s Database: acaweb_fx User: postgres Bind query: yes
10 50ms 44m37s 9s34ms 6,386 16h1m32s with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), results as ( select distinct on (s.symbolid) kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, s.symbol as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when rar.age is not null then rar.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant from keylevels_results kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on kr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on kr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on kr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true where kr.gmttimefound > now() - interval ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or s.symbol in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) order by symbolid, identified desc, patternlengthbars desc ) select * from results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by identified desc, length desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 26 00 90 1h13m8s 48s762ms 01 55 2h33m35s 2m47s 02 212 1h7m2s 18s975ms 03 141 1h34m57s 40s406ms 04 472 28m57s 3s682ms 05 387 26m13s 4s66ms 06 422 32m49s 4s667ms 07 406 36m25s 5s383ms 08 376 29m16s 4s670ms 09 230 23m44s 6s191ms 10 243 31m10s 7s695ms 11 290 26m35s 5s503ms 12 304 30m49s 6s85ms 13 233 27m41s 7s130ms 14 260 32m11s 7s430ms 15 255 28m42s 6s753ms 16 235 31m5s 7s939ms 17 221 38m48s 10s537ms 18 253 33m14s 7s882ms 19 217 32m12s 8s904ms 20 220 28m7s 7s671ms 21 234 26m20s 6s753ms 22 235 26m11s 6s685ms 23 395 2m9s 327ms [ User: postgres - Total duration: 16h1m32s - Times executed: 6386 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:38:28 Duration: 44m37s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 03:36:10 Duration: 22m20s Database: acaweb_fx User: postgres Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), results AS ( SELECT DISTINCT ON (s.symbolid) kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, s.symbol AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM keylevels_results kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON kr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on kr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON kr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('329' = 0 OR s.symbol in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LIN', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#RWE', '#SAP', '#SHI', '#SIE', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#LIN', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURTRY', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDRUB', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#PTR', '#QCOM', '#RACE', '#SHI', '#SINA', '#SNP', '#T', '#TSLA', '#TWTR', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') ORDER BY symbolid, identified DESC, patternlengthbars DESC ) SELECT * from results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY identified DESC, length DESC;
Date: 2021-07-26 01:55:21 Duration: 15m10s Database: acaweb_fx User: postgres Bind query: yes
11 54ms 57s563ms 4s978ms 2,494 3h26m56s 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 #11
Day Hour Count Duration Avg duration Jul 26 00 55 14m10s 15s459ms 01 65 17m57s 16s569ms 02 72 20m17s 16s906ms 03 64 18m33s 17s396ms 04 74 6m21s 5s160ms 05 50 3m25s 4s106ms 06 100 4m35s 2s759ms 07 82 7m9s 5s235ms 08 126 8m28s 4s34ms 09 160 7m23s 2s772ms 10 145 8m20s 3s451ms 11 163 7m50s 2s884ms 12 185 12m40s 4s111ms 13 154 10m19s 4s24ms 14 164 9m34s 3s502ms 15 150 8m1s 3s209ms 16 149 11m35s 4s667ms 17 112 6m29s 3s480ms 18 116 6m3s 3s131ms 19 92 5m19s 3s471ms 20 65 3m44s 3s456ms 21 63 5m6s 4s859ms 22 39 3m14s 4s987ms 23 49 13s417ms 273ms [ User: postgres - Total duration: 3h26m56s - Times executed: 2494 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '988191' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:31 Duration: 57s563ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '988191' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:31 Duration: 56s456ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T30 WHERE symbolid = '1019105' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 02:33:23 Duration: 53s113ms Database: acaweb_fx User: postgres Bind query: yes
12 50ms 9m24s 3s591ms 4,121 4h6m39s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and (((s.symbol ilike ? and timegranularity <= ?))) and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 26 00 197 19m37s 5s976ms 01 133 34m17s 15s467ms 02 184 26m19s 8s586ms 03 246 1h2m39s 15s283ms 04 225 9m13s 2s462ms 05 157 6m15s 2s388ms 06 141 6m20s 2s701ms 07 152 5m34s 2s199ms 08 178 5m3s 1s703ms 09 205 2m48s 819ms 10 195 5m48s 1s788ms 11 172 7m20s 2s562ms 12 248 5m52s 1s420ms 13 219 6m48s 1s866ms 14 211 4m27s 1s266ms 15 212 4m42s 1s332ms 16 207 5m11s 1s506ms 17 161 4m38s 1s728ms 18 155 4m28s 1s735ms 19 107 6m16s 3s518ms 20 100 5m36s 3s362ms 21 130 4m21s 2s11ms 22 117 2m40s 1s367ms 23 69 16s250ms 235ms [ User: postgres - Total duration: 4h6m39s - Times executed: 4121 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:04:41 Duration: 9m24s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:52:15 Duration: 8m27s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((s.symbol ilike '%xauusd%' AND timegranularity <= 1440))) AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 516635479 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:52:15 Duration: 8m24s Database: acaweb_fx User: postgres Bind query: yes
13 50ms 54s166ms 2s738ms 6,206 4h43m15s 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 #13
Day Hour Count Duration Avg duration Jul 26 00 136 18m33s 8s187ms 01 107 28m9s 15s790ms 02 135 21m2s 9s355ms 03 166 24m17s 8s778ms 04 249 11m20s 2s731ms 05 207 5m44s 1s662ms 06 206 8m45s 2s552ms 07 178 7m 2s362ms 08 243 10m3s 2s482ms 09 281 7m4s 1s511ms 10 247 8m43s 2s118ms 11 272 6m52s 1s517ms 12 342 15m51s 2s782ms 13 305 13m23s 2s634ms 14 394 11m21s 1s728ms 15 510 12m46s 1s502ms 16 374 13m1s 2s89ms 17 405 13m2s 1s932ms 18 401 11m31s 1s725ms 19 324 12m13s 2s263ms 20 271 8m56s 1s980ms 21 194 6m25s 1s984ms 22 188 6m46s 2s162ms 23 71 17s329ms 244ms [ User: postgres - Total duration: 4h43m15s - Times executed: 6206 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:36 Duration: 54s166ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '986532' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:03:36 Duration: 53s366ms Database: acaweb_fx User: postgres Bind query: yes
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T60 WHERE symbolid = '1010898' AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2021-07-26 01:04:07 Duration: 51s679ms Database: acaweb_fx User: postgres Bind query: yes
14 50ms 2m30s 1s37ms 8,038 2h18m57s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout >= ?.? and patternendtime = latestbaratbreakouttime and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 26 00 742 16m55s 1s369ms 01 688 18m59s 1s655ms 02 630 17m5s 1s627ms 03 670 15m25s 1s380ms 04 323 7m2s 1s307ms 05 340 4m27s 787ms 06 298 4m13s 849ms 07 306 3m41s 723ms 08 277 4m30s 976ms 09 219 2m33s 701ms 10 308 5m20s 1s41ms 11 245 3m48s 933ms 12 261 2m33s 589ms 13 288 3m35s 748ms 14 272 2m58s 657ms 15 304 3m18s 653ms 16 286 2m19s 488ms 17 279 6m12s 1s334ms 18 247 3m14s 789ms 19 252 3m7s 742ms 20 270 3m9s 702ms 21 281 3m 642ms 22 222 1m19s 359ms 23 30 3s180ms 106ms [ User: postgres - Total duration: 2h18m57s - Times executed: 8038 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m30s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:34:08 Duration: 1m33s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4876 AND breakout >= 0.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 11:31:54 Duration: 1m22s Database: acaweb_fx User: postgres Bind query: yes
15 50ms 2m29s 896ms 12,998 3h14m19s select distinct patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, longname, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_autochartist_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join autochartist_results a on a.symbolid = s.symbolid inner join patterns p on a.pattern = p.patternname left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and breakout = ? and patternlengthbars >= ? and patternquality >= ?.? and initialtrend >= ?.? and symmetry >= ?.? and noise <= ?.? and volumeincrease >= ?.? and temporarypattern = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and s.nonliquid = ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, patternquality desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 26 00 918 25m24s 1s660ms 01 915 28m6s 1s842ms 02 847 20m55s 1s482ms 03 860 24m53s 1s736ms 04 518 7m6s 822ms 05 552 4m40s 508ms 06 521 6m28s 745ms 07 552 5m17s 574ms 08 508 5m35s 659ms 09 485 4m47s 592ms 10 569 6m2s 636ms 11 481 4m44s 592ms 12 505 5m12s 617ms 13 522 6m36s 759ms 14 460 4m22s 570ms 15 474 3m57s 501ms 16 495 3m58s 481ms 17 480 6m24s 800ms 18 477 4m48s 605ms 19 475 3m53s 491ms 20 473 4m27s 566ms 21 493 4m6s 499ms 22 379 2m24s 380ms 23 39 4s560ms 116ms [ User: postgres - Total duration: 3h14m19s - Times executed: 12998 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5147 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 02:33:15 Duration: 2m29s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:06:32 Duration: 1m20s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3599 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:50:34 Duration: 1m4s Database: acaweb_fx User: postgres Bind query: yes
16 50ms 1m24s 864ms 9,613 2h18m32s select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 26 00 1,013 26m48s 1s587ms 01 945 27m17s 1s733ms 02 769 16m42s 1s304ms 03 779 18m21s 1s414ms 04 359 3m28s 580ms 05 471 5m54s 752ms 06 374 2m59s 478ms 07 407 3m18s 488ms 08 296 2m24s 488ms 09 301 3m11s 636ms 10 247 46s160ms 186ms 11 249 1m24s 339ms 12 273 1m37s 356ms 13 350 1m45s 301ms 14 322 2m31s 469ms 15 338 2m6s 375ms 16 310 1m44s 337ms 17 262 2m16s 520ms 18 283 2m23s 506ms 19 338 2m38s 468ms 20 331 2m28s 447ms 21 347 3m46s 651ms 22 246 2m36s 638ms 23 3 652ms 217ms [ User: postgres - Total duration: 2h18m32s - Times executed: 9613 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321382 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:22 Duration: 1m24s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5153 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321382 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:22 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5135 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 61321484 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:20 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
17 50ms 4m42s 856ms 21,968 5h13m28s select distinct a.resultuid as ruid, c.symbolid as sid, c.symbol as sym, c.longname as longname, c.shortname, c.exchange as e, c.timegranularity as tg, p.patternid as pid, a.direction as d, cast(atbaridentified as timestamp) as pet, cast(patternstarttime as timestamp) as pst, patternprice as patp, breakoutprice as pe, breakoutbars as be, errormargin as erm, patternlengthbars as l, bandwidth as bw, qtytp as qtp, p.patternname as patternname, cast(x0 as timestamp) as x0, cast(x1 as timestamp) as x1, cast(x2 as timestamp) as x2, cast(( case when x3 = ? then ? else x3 end) as timestamp) as x3, cast(( case when x4 = ? then ? else x4 end) as timestamp) as x4, cast(( case when x5 = ? then ? else x5 end) as timestamp) as x5, cast(( case when x6 = ? then ? else x6 end) as timestamp) as x6, cast(( case when x7 = ? then ? else x7 end) as timestamp) as x7, cast(( case when x8 = ? then ? else x8 end) as timestamp) as x8, cast(( case when x9 = ? then ? else x9 end) as timestamp) as x9, cast(atbaridentified as timestamp) as patternendtime, cast(atbaridentified as timestamp) as atbar, cast(( case when approachingtimestamp = ? then ? else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzos, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_keylevels_results order by resultuid desc limit ?) then ? else ? end as relevant, cast(?.? as double precision) as premium, cast(? as bigint) as instrumentid, ? as derivativeid, ? as underlyingid, ? as isunderlying from symbols c inner join brokersymbollist b on c.symbolid = b.symbolid inner join symbolgroup sg on c.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = c.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join keylevels_results a on a.symbolid = c.symbolid inner join hrspatterns p on a.patternid = p.patternid left outer join relevance_keylevels_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and groupid = ? and patternclassid = ? and patternlengthbars >= ? and a.patternid & ? > ? and dftt.dayofweek = ? and a.qtytp >= ? and a.resultuid > ? and c.nonliquid = ? and c.deleted = ? and dss.enabled = ? order by relevant desc, age asc, patternendtime desc, qtp desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 26 00 1,924 51m32s 1s607ms 01 1,854 50m19s 1s628ms 02 1,621 44m22s 1s642ms 03 1,719 47m30s 1s657ms 04 915 9m4s 594ms 05 953 6m12s 391ms 06 914 7m48s 512ms 07 828 6m56s 502ms 08 806 8m11s 609ms 09 764 5m22s 422ms 10 806 5m40s 422ms 11 784 6m40s 511ms 12 742 8m11s 662ms 13 834 7m19s 526ms 14 677 5m29s 486ms 15 745 4m20s 350ms 16 690 6m16s 545ms 17 654 5m48s 532ms 18 729 6m3s 499ms 19 757 5m33s 439ms 20 841 5m34s 398ms 21 811 6m14s 462ms 22 574 2m51s 298ms 23 26 3s310ms 127ms [ User: postgres - Total duration: 5h13m28s - Times executed: 21968 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND groupid = 5123 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:35:45 Duration: 4m42s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 619 AND groupid = 4262 AND patternclassid = '1' AND patternlengthbars >= '200' AND a.PatternID & '3' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '3' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 02:18:25 Duration: 2m16s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN symbolgroup sg ON c.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 627 AND groupid = 4454 AND patternclassid = '2' AND patternlengthbars >= '20' AND a.PatternID & '39' > 0 AND dftt.dayofweek = '3' AND a.qtytp >= '0' AND a.resultuid > '0' AND c.nonliquid = '0' AND c.deleted = 0 AND dss.enabled = 1 ORDER BY relevant DESC, age asc, PatternEndTime DESC, qtp DESC LIMIT 50;
Date: 2021-07-26 12:04:43 Duration: 2m14s Database: acaweb_fx User: postgres Bind query: yes
18 50ms 1m21s 828ms 6,493 1h29m41s select distinct a.resultuid as ruid, s.symbolid as sid, symbol as sym, longname, shortname, exchange as e, timegranularity as tg, p.patternid as pid, direction as d, patternstarttime as pst, patternendtime as pet, patternstartprice as psp, patternendprice as pep, pricex as px, timex as tx, pricea as pa, timea as ta, priceb as pb, timeb as tb, pricec as pc, timec as tc, priced as pd, timed as td, averagequality as aq, timequality as tq, errormargin as rq, (? - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, patternlengthbars as l, temporarypattern as tp, bandwidth as bw, qtytp as qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzos, dftt.timezone as tz, case when rar.age is not null then rar.age when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ?) then ? else ? end as relevant from symbols s inner join brokersymbollist b on s.symbolid = b.symbolid inner join symbolgroup sg on s.symbolid = sg.symbolid inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dftt on dftt.classname = dss.classname inner join fibonacci_results a on a.symbolid = s.symbolid inner join fibonaccipatterns p on a.pattern = p.patternname left outer join relevance_fibonacci_results rar on rar.resultuid = a.resultuid where b.brokerid = ? and sg.groupid = ? and patternlengthbars >= ? and averagequality >= ?.? and (timequality >= ?.? or timequality = ?) and errormargin >= ?.? and ? - noise >= ?.? and s.nonliquid = ? and patternid & ? > ? and s.nonliquid = ? and s.deleted = ? and dss.enabled = ? and patternendprice > ? and a.resultuid > ? and dftt.dayofweek = ? order by relevant desc, age asc, patternendtime desc, averagequality desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 26 00 495 12m18s 1s491ms 01 424 12m42s 1s797ms 02 432 7m46s 1s78ms 03 554 15m48s 1s712ms 04 259 2m41s 621ms 05 278 2m24s 519ms 06 180 1m21s 451ms 07 272 2m5s 460ms 08 238 1m42s 431ms 09 214 2m33s 716ms 10 264 2m2s 463ms 11 193 2m36s 809ms 12 216 2m11s 607ms 13 238 2m17s 577ms 14 239 1m26s 363ms 15 295 2m29s 506ms 16 205 59s682ms 291ms 17 234 2m6s 538ms 18 235 1m52s 480ms 19 219 2m8s 585ms 20 260 1m14s 285ms 21 292 4m23s 900ms 22 230 2m27s 639ms 23 27 3s790ms 140ms [ User: postgres - Total duration: 1h29m41s - Times executed: 6493 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5135 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61319120 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:20 Duration: 1m21s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND sg.groupid = 5159 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 39 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61318543 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 00:55:06 Duration: 1m11s Database: acaweb_fx User: postgres Bind query: yes
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 660 AND sg.groupid = 4858 AND patternlengthbars >= 20 AND averagequality >= 0.3 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61323476 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 03:52:04 Duration: 42s726ms Database: acaweb_fx User: postgres Bind query: yes
19 50ms 11s449ms 747ms 45,617 9h28m9s insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t30 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 26 00 371 1m17s 209ms 01 1,843 34m53s 1s135ms 02 1,934 43m46s 1s358ms 03 2,045 48m22s 1s419ms 04 1,985 30m36s 925ms 05 1,528 10m23s 408ms 06 1,661 18m38s 673ms 07 1,861 26m17s 847ms 08 1,830 37m8s 1s217ms 09 1,660 8m12s 296ms 10 2,188 21m3s 577ms 11 2,231 15m43s 422ms 12 1,775 19m24s 655ms 13 2,331 22m49s 587ms 14 1,757 18m22s 627ms 15 2,139 25m10s 706ms 16 2,932 33m3s 676ms 17 2,661 44m9s 995ms 18 2,411 22m 547ms 19 2,561 34m43s 813ms 20 1,849 12m3s 391ms 21 2,207 25m3s 681ms 22 1,857 14m51s 480ms [ User: postgres - Total duration: 9h28m9s - Times executed: 45617 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1016077, '2021-07-26 08:00:00'::timestamp without time zone, 1.05487, 1.05527, 1.05487, 1.05527, 1452, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 1016077 AND pricedatetime = '2021-07-26 08:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:14 Duration: 11s449ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 982436, '2021-07-26 09:00:00'::timestamp without time zone, 0.92483, 0.92513, 0.9245, 0.92483, 2163, 0, '2021-07-26 08:31:02'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 982436 AND pricedatetime = '2021-07-26 09:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:13 Duration: 10s993ms Database: acaweb_fx User: postgres
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919758, '2021-07-26 02:00:00'::timestamp without time zone, 1.87155, 1.87157, 1.86939, 1.86988, 4408, 0, '2021-07-26 08:31:06'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T30 WHERE symbolid = 919758 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 08:31:16 Duration: 10s136ms Database: acaweb_fx User: postgres
20 50ms 8s764ms 739ms 24,036 4h56m17s insert into t60 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) select ?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone where not exists ( select ? from t60 where symbolid = ? and pricedatetime = ?::timestamp without time zone);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 26 00 783 1m49s 140ms 01 885 24m41s 1s674ms 02 969 17m42s 1s96ms 03 1,023 27m37s 1s620ms 04 983 20m38s 1s260ms 05 733 4m7s 337ms 06 967 10m1s 622ms 07 898 10m51s 725ms 08 790 13m29s 1s24ms 09 1,081 3m29s 194ms 10 1,184 13m51s 702ms 11 920 3m16s 213ms 12 1,174 14m19s 732ms 13 1,221 9m34s 470ms 14 1,152 14m31s 756ms 15 1,137 19m35s 1s33ms 16 1,515 13m16s 526ms 17 1,340 28m53s 1s293ms 18 1,119 10m5s 541ms 19 1,280 19m9s 898ms 20 933 3m40s 236ms 21 1,028 7m2s 410ms 22 921 4m29s 292ms [ User: postgres - Total duration: 4h56m17s - Times executed: 24036 ]
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 962028, '2021-07-26 02:00:00'::timestamp without time zone, 1.8704, 1.8708, 1.8697, 1.8704, 690, 0, '2021-07-26 03:02:26'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 962028 AND pricedatetime = '2021-07-26 02:00:00'::timestamp without time zone);
Date: 2021-07-26 03:02:34 Duration: 8s764ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1026601, '2021-07-26 17:00:00'::timestamp without time zone, 8770.4, 8783.6, 8748.9, 8761.5, 2946, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1026601 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s989ms Database: acaweb_fx User: postgres
-
INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 1002778, '2021-07-26 17:00:00'::timestamp without time zone, 81.387, 81.493, 81.299, 81.483, 7228, 0, '2021-07-26 17:03:12'::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM T60 WHERE symbolid = 1002778 AND pricedatetime = '2021-07-26 17:00:00'::timestamp without time zone);
Date: 2021-07-26 17:03:19 Duration: 6s984ms Database: acaweb_fx User: postgres
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3s781ms 36 52ms 274ms 105ms WITH rar_max as ( ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Jul 26 00 6 494ms 82ms 01 4 444ms 111ms 02 5 322ms 64ms 03 12 1s847ms 153ms 08 1 70ms 70ms 09 1 73ms 73ms 10 1 88ms 88ms 11 2 150ms 75ms 13 2 170ms 85ms 15 1 64ms 64ms 21 1 54ms 54ms [ User: postgres - Total duration: 10m5s - Times executed: 36 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:18 Duration: 274ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:18 Duration: 260ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:18 Duration: 255ms Database: postgres User: acaweb_fx Remote: postgres
2 3s19ms 22 57ms 315ms 137ms WITH last_candle AS ( ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 1 204ms 204ms 01 2 266ms 133ms 02 3 545ms 181ms 03 4 904ms 226ms 04 2 203ms 101ms 05 1 62ms 62ms 06 1 170ms 170ms 07 1 70ms 70ms 08 1 57ms 57ms 09 2 236ms 118ms 10 1 92ms 92ms 11 3 205ms 68ms [ User: postgres - Total duration: 1m24s - Times executed: 22 ]
-
WITH last_candle AS ( ;
Date: 2021-07-26 03:24:32 Duration: 315ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH last_candle AS ( ;
Date: 2021-07-26 03:48:58 Duration: 305ms Database: postgres User: acaweb_fx Remote: postgres
-
WITH last_candle AS ( ;
Date: 2021-07-26 02:00:05 Duration: 235ms Database: postgres User: acaweb_fx Remote: postgres
3 2s176ms 21 50ms 242ms 103ms with sym_info as ( ;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 02 3 538ms 179ms 03 5 681ms 136ms 04 1 59ms 59ms 05 1 51ms 51ms 07 1 64ms 64ms 10 1 98ms 98ms 11 1 62ms 62ms 12 2 187ms 93ms 15 2 148ms 74ms 18 1 69ms 69ms 19 2 130ms 65ms 21 1 83ms 83ms [ User: postgres - Total duration: 5s504ms - Times executed: 21 ]
-
with sym_info as ( ;
Date: 2021-07-26 02:20:55 Duration: 242ms Database: postgres User: acaweb_fx Remote: postgres
-
with sym_info as ( ;
Date: 2021-07-26 03:35:52 Duration: 190ms Database: postgres User: acaweb_fx Remote: postgres
-
with sym_info as ( ;
Date: 2021-07-26 02:05:54 Duration: 184ms Database: postgres User: acaweb_fx Remote: postgres
4 2s161ms 19 53ms 612ms 113ms with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 00 4 328ms 82ms 01 5 1s68ms 213ms 02 3 243ms 81ms 03 2 226ms 113ms 04 2 113ms 56ms 11 1 53ms 53ms 15 1 63ms 63ms 18 1 64ms 64ms [ User: postgres - Total duration: 19s938ms - Times executed: 19 ]
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 01:48:53 Duration: 612ms Database: postgres User: acaweb_fx Remote: postgres
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 01:25:56 Duration: 175ms Database: postgres User: acaweb_fx Remote: postgres
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 01:55:56 Duration: 159ms Database: postgres User: acaweb_fx Remote: postgres
5 2s158ms 2 1s77ms 1s80ms 1s79ms SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%eurusd%' AND timegranularity = 15);Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 01 2 2s158ms 1s79ms [ User: postgres - Total duration: 17s72ms - Times executed: 2 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%eurusd%' AND timegranularity = 15);
Date: 2021-07-26 01:48:38 Duration: 1s80ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%eurusd%' AND timegranularity = 15);
Date: 2021-07-26 01:48:38 Duration: 1s77ms Database: postgres User: acaweb_fx Remote: postgres
6 2s145ms 2 1s67ms 1s78ms 1s72ms SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%usdchf%' AND timegranularity <= 1440);Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 01 2 2s145ms 1s72ms [ User: postgres - Total duration: 24s908ms - Times executed: 2 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%usdchf%' AND timegranularity <= 1440);
Date: 2021-07-26 01:48:38 Duration: 1s78ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%usdchf%' AND timegranularity <= 1440);
Date: 2021-07-26 01:48:38 Duration: 1s67ms Database: postgres User: acaweb_fx Remote: postgres
7 1s744ms 18 50ms 198ms 96ms with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 00 4 242ms 60ms 01 4 370ms 92ms 02 4 380ms 95ms 03 4 560ms 140ms 04 1 69ms 69ms 20 1 120ms 120ms [ User: postgres - Total duration: 1m17s - Times executed: 18 ]
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 03:00:03 Duration: 198ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 03:30:02 Duration: 191ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:40:02 Duration: 157ms Database: postgres User: acaweb_fx Remote: postgres
8 1s288ms 12 59ms 160ms 107ms SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 00 2 179ms 89ms 01 2 257ms 128ms 02 4 468ms 117ms 03 4 382ms 95ms [ User: postgres - Total duration: 19s207ms - Times executed: 12 ]
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 02:00:00 Duration: 160ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 01:28:11 Duration: 158ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT (cast(substring(tz.gmoffset from 1 for 3) as float) * 60 + cast(substring(tz.gmoffset from 5 for 2) as float)) / 60 as offset FROM timezones tz WHERE tz.timezone = $1;
Date: 2021-07-26 03:46:00 Duration: 137ms Database: postgres User: acaweb_fx Remote: postgres
9 1s179ms 1 1s179ms 1s179ms 1s179ms SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61303722 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 01 1 1s179ms 1s179ms [ User: postgres - Total duration: 6s386ms - Times executed: 1 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice > - 1 AND a.resultuid > 61303722 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 01:48:34 Duration: 1s179ms Database: postgres User: acaweb_fx Remote: postgres
10 1s178ms 1 1s178ms 1s178ms 1s178ms SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61321873 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 01 1 1s178ms 1s178ms [ User: postgres - Total duration: 6s382ms - Times executed: 1 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND patternlengthbars >= 20 AND averagequality >= 0.0 AND (timequality >= 0.0 OR timequality = - 1) AND errormargin >= 0.0 AND 1 - noise >= 0.0 AND s.nonliquid = 0 AND PatternID & 63 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND PatternEndPrice = - 1 AND a.resultuid > 61321873 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, averagequality DESC LIMIT 50;
Date: 2021-07-26 01:48:34 Duration: 1s178ms Database: postgres User: acaweb_fx Remote: postgres
11 1s6ms 2 474ms 532ms 503ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%eurusd%' AND timegranularity = 240);Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 01 2 1s6ms 503ms [ User: postgres - Total duration: 509ms - Times executed: 2 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%eurusd%' AND timegranularity = 240);
Date: 2021-07-26 01:48:47 Duration: 532ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 529 AND (((s.symbol ilike '%eurusd%' AND timegranularity = 240);
Date: 2021-07-26 01:48:42 Duration: 474ms Database: postgres User: acaweb_fx Remote: postgres
12 634ms 6 51ms 163ms 105ms SELECT ;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 02 4 419ms 104ms 03 1 163ms 163ms 10 1 51ms 51ms [ User: postgres - Total duration: 38s643ms - Times executed: 6 ]
-
SELECT ;
Date: 2021-07-26 03:45:06 Duration: 163ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ;
Date: 2021-07-26 02:39:49 Duration: 117ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ;
Date: 2021-07-26 02:39:49 Duration: 115ms Database: postgres User: acaweb_fx Remote: postgres
13 571ms 4 114ms 168ms 142ms SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%xauusd%' AND timegranularity <= 1440);Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 01 4 571ms 142ms [ User: postgres - Total duration: 56s897ms - Times executed: 4 ]
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%xauusd%' AND timegranularity <= 1440);
Date: 2021-07-26 01:48:31 Duration: 168ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%xauusd%' AND timegranularity <= 1440);
Date: 2021-07-26 01:48:31 Duration: 165ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT a.ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, p.PatternID AS pid, Direction AS d, PatternStartTime AS pst, PatternEndTime AS pet, PatternStartPrice AS psp, PatternEndPrice AS pep, priceX as px, timeX as tx, priceA as pa, timeA as ta, priceB as pb, timeB as tb, priceC as pc, timeC as tc, priceD as pd, timeD as td, averagequality as aq, timequality as tq, errormargin as rq, (1 - noise) as c, target10 as t10, target06 as t06, target16 as t16, target07 as t07, target12 as t12, target03 as t03, target05 as t05, PatternLengthBars AS l, temporarypattern as tp, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, averagequality, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN fibonacci_results a ON a.symbolid = s.symbolid INNER JOIN FibonacciPatterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_fibonacci_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 689 AND (((symbol ilike '%xauusd%' AND timegranularity <= 1440);
Date: 2021-07-26 01:48:32 Duration: 123ms Database: postgres User: acaweb_fx Remote: postgres
14 550ms 2 215ms 335ms 275ms SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 01 2 550ms 275ms [ User: postgres - Total duration: 654ms - Times executed: 2 ]
-
SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;
Date: 2021-07-26 01:48:26 Duration: 335ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT DISTINCT COALESCE(stddev_15 / 2, 0) AS low_15_stddev, COALESCE(ave_15 / 2, 0) AS low_15_ave, COALESCE(stddev_15 / 2, 0) AS high_15_stddev, COALESCE(ave_15 / 2, 0) AS high_15_ave, COALESCE(stddev_30 / 2, 0) AS low_30_stddev, COALESCE(ave_30 / 2, 0) AS low_30_ave, COALESCE(stddev_30 / 2, 0) AS high_30_stddev, COALESCE(ave_30 / 2, 0) AS high_30_ave, COALESCE(stddev_60 / 2, 0) AS low_60_stddev, COALESCE(ave_60 / 2, 0) AS low_60_ave, COALESCE(stddev_60 / 2, 0) AS high_60_stddev, COALESCE(ave_60 / 2, 0) AS high_60_ave, COALESCE(stddev_240 / 2, 0) AS low_240_stddev, COALESCE(ave_240 / 2, 0) AS low_240_ave, COALESCE(stddev_240 / 2, 0) AS high_240_stddev, COALESCE(ave_240 / 2, 0) AS high_240_ave, COALESCE(stddev_1440 / 2, 0) AS low_1440_stddev, COALESCE(ave_1440 / 2, 0) AS low_1440_ave, COALESCE(stddev_1440 / 2, 0) AS high_1440_stddev, COALESCE(ave_1440 / 2, 0) AS high_1440_ave, s.exchange AS exchange, s.symbol AS symbol, s.longname, ps.enddate AS executiondate, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, dss.downloadersymbol FROM powerstats_trumpet ps INNER JOIN downloadersymbolsettings dss ON dss.symbolid = ps.symbolid INNER JOIN datafeedstimetable dtt ON dtt.classname = dss.classname INNER JOIN symbols s ON ps.symbolid = s.symbolid WHERE ps.dayofweek = $1 AND ps.fromtime = $2 AND ps.symbolid = $3 ORDER BY ps.enddate DESC LIMIT 1;
Date: 2021-07-26 01:48:31 Duration: 215ms Database: postgres User: acaweb_fx Remote: postgres
15 514ms 5 51ms 170ms 102ms select count(distinct classname) from ( select * from datafeed_update_view) as k where classname ilike 'XM' and datetimeupdate > current_timestamp - interval '30 minutes' group by classname;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 03 2 274ms 137ms 08 1 129ms 129ms 14 1 51ms 51ms 15 1 60ms 60ms [ User: postgres - Total duration: 22s438ms - Times executed: 5 ]
-
select count(distinct classname) from ( select * from datafeed_update_view) as k where classname ilike 'XM' and datetimeupdate > current_timestamp - interval '30 minutes' group by classname;
Date: 2021-07-26 03:40:00 Duration: 170ms Database: postgres User: acaweb_fx Remote: postgres
-
select count(distinct classname) from ( select * from datafeed_update_view) as k where classname ilike 'XM' and datetimeupdate > current_timestamp - interval '30 minutes' group by classname;
Date: 2021-07-26 08:10:00 Duration: 129ms Database: postgres User: acaweb_fx Remote: postgres
-
select count(distinct classname) from ( select * from datafeed_update_view) as k where classname ilike 'XM' and datetimeupdate > current_timestamp - interval '30 minutes' group by classname;
Date: 2021-07-26 03:10:00 Duration: 103ms Database: postgres User: acaweb_fx Remote: postgres
16 430ms 7 54ms 82ms 61ms SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 00 1 56ms 56ms 01 2 113ms 56ms 02 2 142ms 71ms 03 2 118ms 59ms [ User: postgres - Total duration: 9s28ms - Times executed: 7 ]
-
SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
Date: 2021-07-26 02:30:02 Duration: 82ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
Date: 2021-07-26 03:25:20 Duration: 64ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT upsert_t15 ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
Date: 2021-07-26 02:55:19 Duration: 59ms Database: postgres User: acaweb_fx Remote: postgres
17 399ms 1 399ms 399ms 399ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5400 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517118119 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 01 1 399ms 399ms [ User: postgres - Total duration: 1s491ms - Times executed: 1 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 5400 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.3 AND initialtrend >= 0.0 AND symmetry >= 0.0 AND noise <= 1.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 517118119 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:48:36 Duration: 399ms Database: postgres User: acaweb_fx Remote: postgres
18 392ms 2 146ms 246ms 196ms 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 #18
Day Hour Count Duration Avg duration 00 1 246ms 246ms 01 1 146ms 146ms [ User: postgres - Total duration: 3s134ms - Times executed: 2 ]
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2021-07-26 00:01:00 Duration: 246ms Database: postgres User: acaweb_fx Remote: 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: 2021-07-26 01:01:02 Duration: 146ms Database: postgres User: acaweb_fx Remote: postgres
19 381ms 6 54ms 79ms 63ms SELECT groupid, ;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 02 2 145ms 72ms 05 1 54ms 54ms 10 3 181ms 60ms [ User: postgres - Total duration: 3s585ms - Times executed: 6 ]
-
SELECT groupid, ;
Date: 2021-07-26 02:15:04 Duration: 79ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT groupid, ;
Date: 2021-07-26 10:00:05 Duration: 66ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT groupid, ;
Date: 2021-07-26 02:15:04 Duration: 65ms Database: postgres User: acaweb_fx Remote: postgres
20 374ms 1 374ms 374ms 374ms SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 49 AND (((longname ilike '%great britan pound vs australian dollar%' AND timegranularity <= 1440);Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 07 1 374ms 374ms [ User: postgres - Total duration: 231ms - Times executed: 1 ]
-
SELECT DISTINCT a.ResultUID AS ruid, c.symbolid AS sid, c.symbol AS sym, c.longname as longname, c.shortname, c.Exchange AS e, c.timegranularity AS tg, p.PatternID AS pid, a.direction AS d, cast(atbaridentified as timestamp) AS pet, cast(patternstarttime as timestamp) AS pst, PatternPrice AS patp, breakoutprice as pE, breakoutbars as bE, errorMargin as erm, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, cast(x0 as timestamp) AS x0, cast(x1 as timestamp) AS x1, cast(x2 as timestamp) AS x2, cast(( case when x3 = '' then '1900-01-01' else x3 end) as timestamp) AS x3, cast((case when x4 = '' then '1900-01-01' else x4 end) as timestamp) AS x4, cast(( case when x5 = '' then '1900-01-01' else x5 end) as timestamp) AS x5, cast((case when x6 = '' then '1900-01-01' else x6 end) as timestamp) AS x6, cast(( case when x7 = '' then '1900-01-01' else x7 end) as timestamp) AS x7, cast((case when x8 = '' then '1900-01-01' else x8 end) as timestamp) AS x8, cast(( case when x9 = '' then '1900-01-01' else x9 end) as timestamp) AS x9, cast(atbaridentified as timestamp) as PatternEndTime, cast(atbaridentified as timestamp) as atBar, cast((case when approachingtimestamp = '' then '1900-01-01' else approachingtimestamp end) as timestamp) as apr, dftt.timezone as tz, dftt.absolutetimezoneoffset as tzOs, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant, cast(0.0 as double precision) as premium, cast(0 as bigint) as instrumentid, 0 as derivativeid, 0 as underlyingid, 0 as isunderlying FROM symbols c INNER JOIN brokersymbollist b ON c.symbolid = b.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = c.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN keylevels_results a ON a.symbolid = c.symbolid INNER JOIN hrspatterns p ON a.patternid = p.patternid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 49 AND (((longname ilike '%great britan pound vs australian dollar%' AND timegranularity <= 1440);
Date: 2021-07-26 07:27:53 Duration: 374ms Database: postgres User: acaweb_fx Remote: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 42s916ms 185 50ms 2s28ms 231ms with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jul 26 00 12 7s956ms 663ms 01 11 5s343ms 485ms 02 13 5s195ms 399ms 03 10 6s69ms 606ms 04 13 1s688ms 129ms 05 9 936ms 104ms 06 6 651ms 108ms 07 7 684ms 97ms 08 3 278ms 92ms 09 7 796ms 113ms 10 12 2s155ms 179ms 11 4 1s4ms 251ms 12 6 1s128ms 188ms 13 8 707ms 88ms 14 6 544ms 90ms 15 7 728ms 104ms 16 10 941ms 94ms 17 6 563ms 93ms 18 7 1s69ms 152ms 19 7 1s195ms 170ms 20 9 1s295ms 143ms 21 9 1s738ms 193ms 22 3 239ms 79ms [ User: postgres - Total duration: 3m48s - Times executed: 185 ]
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 03:45:48 Duration: 2s28ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125', $3 = '125', $4 = '125', $5 = '125', $6 = '125', $7 = '125', $8 = '125', $9 = '125'
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 00:45:31 Duration: 1s429ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '665', $2 = '665', $3 = '665', $4 = '665', $5 = '665', $6 = '665', $7 = '665', $8 = '665', $9 = '665'
-
with wh_patitioned as ( select row_number() over (partition by symbol, a.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset as timezoneoffset, ar.patternlengthbars as length, ar.patternquality as quality FROM whatshot_probability whp INNER JOIN autochartist_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_autochartist_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $1 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $2 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $3) AND interval >= 60 AND percent >= 60 AND type = 'cp' and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a ), wh_patitioned2 as ( select row_number() over (partition by symbol, a2.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $4 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $5 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $6) AND interval >= 60 AND percent >= 60 AND type = 'kl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a2 ), wh_patitioned3 as ( select row_number() over (partition by symbol, a3.basegroupname order by resultuid desc) as rn, * from ( SELECT whp.resultuid, g.basegroupname, type, whid, whp.exchange, whp.symbol, patternname, whp.direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime + (interval || ' minutes')::interval as patternendtime, patternprice as predictionpricefrom, patternprice as predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, rar.age, dftt.timezone, dftt.absolutetimezoneoffset, ar.patternlengthbars as length, ar.qtytp as quality FROM whatshot_probability whp INNER JOIN keylevels_results ar ON whp.resultuid = ar.resultuid INNER JOIN relevance_keylevels_results rar ON ar.resultuid = rar.resultuid INNER JOIN downloadersymbolsettings dss ON ar.symbolid = dss.symbolid INNER JOIN datafeedstimetable dftt ON dss.classname = dftt.classname INNER JOIN symbols s on whp.symbolid = s.symbolid INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN whatshot_groups whg ON whg.groupid = g.groupid INNER JOIN brokersymbollist bsl ON bsl.symbolid = sg.symbolid AND bsl.brokerid = $7 INNER JOIN brokergroups bg ON bg.groupid = sg.groupid AND bg.brokerid = $8 WHERE whid = ( SELECT MAX(whid) FROM whatshot WHERE brokerid = $9) AND interval >= 60 AND percent >= 60 AND type = 'ekl' AND rar.relevant = 1 AND rar.age <= 10 and s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 and dftt.dayofweek = 3) a3 ) select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, timezoneoffset, length, quality from wh_patitioned where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned2 where rn = 1 UNION ALL select resultuid, basegroupname, type, whid, exchange, symbol, patternname, direction, hod, interval, symbol_percent, pattern_percent, hod_percent, percent, new, patternendtime, predictionpricefrom, predictionpriceto, pattern_correct, pattern_total, hod_correct, hod_total, symbol_correct, symbol_total, age, timezone, absolutetimezoneoffset, length, quality from wh_patitioned3 where rn = 1;
Date: 2021-07-26 03:25:19 Duration: 1s404ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
2 26s51ms 81 50ms 1s355ms 321ms with sym_info as ( ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 02 4 3s344ms 836ms 03 6 3s939ms 656ms 04 3 456ms 152ms 05 4 771ms 192ms 06 4 550ms 137ms 07 6 936ms 156ms 08 4 534ms 133ms 09 3 703ms 234ms 10 5 1s957ms 391ms 11 5 1s39ms 207ms 12 7 1s653ms 236ms 13 2 501ms 250ms 14 3 542ms 180ms 15 3 785ms 261ms 16 1 205ms 205ms 17 3 833ms 277ms 18 4 1s888ms 472ms 19 4 1s715ms 428ms 20 3 984ms 328ms 21 4 1s953ms 488ms 22 3 752ms 250ms [ User: postgres - Total duration: 4m14s - Times executed: 81 ]
-
with sym_info as ( ;
Date: 2021-07-26 02:20:57 Duration: 1s355ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '617', $2 = 'Forex', $3 = 'Forex', $4 = '617', $5 = 'Forex', $6 = '617'
-
with sym_info as ( ;
Date: 2021-07-26 02:05:55 Duration: 1s307ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '620', $2 = 'Forex', $3 = 'Forex', $4 = '620', $5 = 'Forex', $6 = '620'
-
with sym_info as ( ;
Date: 2021-07-26 03:35:53 Duration: 1s36ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '620', $2 = 'Forex', $3 = 'Forex', $4 = '620', $5 = 'Forex', $6 = '620'
3 22s819ms 139 50ms 710ms 164ms WITH last_candle AS ( ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 7 1s725ms 246ms 01 11 3s111ms 282ms 02 9 1s872ms 208ms 03 12 3s822ms 318ms 04 8 1s86ms 135ms 05 8 1s421ms 177ms 06 6 1s212ms 202ms 07 4 408ms 102ms 08 6 691ms 115ms 09 4 845ms 211ms 10 6 596ms 99ms 11 7 683ms 97ms 12 5 483ms 96ms 13 4 401ms 100ms 14 4 298ms 74ms 15 5 372ms 74ms 16 6 632ms 105ms 17 6 538ms 89ms 18 5 653ms 130ms 19 4 314ms 78ms 20 5 738ms 147ms 21 4 633ms 158ms 22 3 274ms 91ms [ User: postgres - Total duration: 6m44s - Times executed: 139 ]
-
WITH last_candle AS ( ;
Date: 2021-07-26 03:48:59 Duration: 710ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
-
WITH last_candle AS ( ;
Date: 2021-07-26 03:32:09 Duration: 707ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
-
WITH last_candle AS ( ;
Date: 2021-07-26 06:49:36 Duration: 619ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '125', $2 = '125'
4 22s611ms 63 59ms 1s675ms 358ms SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 00 5 3s365ms 673ms 01 5 3s889ms 777ms 02 3 2s382ms 794ms 03 3 2s155ms 718ms 04 3 612ms 204ms 05 1 434ms 434ms 06 4 862ms 215ms 07 2 639ms 319ms 08 2 340ms 170ms 09 2 343ms 171ms 10 6 1s335ms 222ms 11 2 400ms 200ms 12 3 896ms 298ms 13 2 612ms 306ms 14 2 543ms 271ms 15 4 1s133ms 283ms 16 2 335ms 167ms 17 2 364ms 182ms 18 1 158ms 158ms 19 2 247ms 123ms 20 3 1s55ms 351ms 21 2 198ms 99ms 22 2 303ms 151ms [ User: postgres - Total duration: 13s65ms - Times executed: 63 ]
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 01:03:52 Duration: 1s675ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986915', $2 = '558'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 03:19:18 Duration: 1s70ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986695', $2 = '558'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 01:28:50 Duration: 940ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986695', $2 = '558'
5 21s240ms 97 50ms 1s762ms 218ms SELECT ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 00 4 613ms 153ms 01 6 1s288ms 214ms 02 12 4s777ms 398ms 03 14 7s345ms 524ms 04 9 1s167ms 129ms 05 6 1s76ms 179ms 07 4 497ms 124ms 08 6 689ms 114ms 09 2 226ms 113ms 10 8 649ms 81ms 11 7 1s102ms 157ms 12 2 291ms 145ms 13 3 216ms 72ms 14 4 516ms 129ms 15 2 177ms 88ms 16 2 188ms 94ms 18 2 202ms 101ms 19 1 54ms 54ms 20 1 55ms 55ms 21 1 51ms 51ms 22 1 52ms 52ms [ User: postgres - Total duration: 4m12s - Times executed: 97 ]
-
SELECT ;
Date: 2021-07-26 03:45:08 Duration: 1s762ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954121'
-
SELECT ;
Date: 2021-07-26 02:15:05 Duration: 1s94ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954256'
-
SELECT ;
Date: 2021-07-26 03:45:05 Duration: 1s61ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954121'
6 16s929ms 67 51ms 1s225ms 252ms SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 00 5 2s851ms 570ms 01 4 2s752ms 688ms 02 3 1s446ms 482ms 03 2 989ms 494ms 04 3 466ms 155ms 05 1 308ms 308ms 06 3 540ms 180ms 07 4 594ms 148ms 08 2 175ms 87ms 09 3 297ms 99ms 10 6 1s44ms 174ms 11 2 246ms 123ms 12 4 1s15ms 253ms 13 3 423ms 141ms 14 5 611ms 122ms 15 5 1s147ms 229ms 16 1 200ms 200ms 17 2 342ms 171ms 18 1 121ms 121ms 19 1 117ms 117ms 20 4 890ms 222ms 21 1 96ms 96ms 22 2 250ms 125ms [ User: postgres - Total duration: 15s110ms - Times executed: 67 ]
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 01:03:52 Duration: 1s225ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986915', $2 = '558'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 00:59:14 Duration: 804ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '1016456', $2 = '643'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid WHERE psd.symbolid = $1 AND bsl.brokerid = $2 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 03:19:17 Duration: 793ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986695', $2 = '558'
7 13s794ms 129 50ms 455ms 106ms WITH rar_max as ( ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 00 7 1s74ms 153ms 01 19 2s543ms 133ms 02 15 1s423ms 94ms 03 18 3s203ms 177ms 04 1 69ms 69ms 05 7 482ms 68ms 06 2 192ms 96ms 07 3 166ms 55ms 08 2 139ms 69ms 09 7 758ms 108ms 10 4 286ms 71ms 11 5 523ms 104ms 12 8 650ms 81ms 13 6 499ms 83ms 14 3 216ms 72ms 15 3 220ms 73ms 16 1 80ms 80ms 17 8 603ms 75ms 18 2 143ms 71ms 19 1 52ms 52ms 20 3 162ms 54ms 21 3 228ms 76ms 22 1 72ms 72ms [ User: postgres - Total duration: 1h31s - Times executed: 129 ]
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:19 Duration: 455ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '3589790'
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:19 Duration: 455ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '3589804'
-
WITH rar_max as ( ;
Date: 2021-07-26 03:29:19 Duration: 454ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '3589789'
8 13s251ms 97 50ms 634ms 136ms with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 00 6 1s97ms 182ms 01 6 1s496ms 249ms 02 6 1s764ms 294ms 03 6 1s869ms 311ms 04 4 453ms 113ms 05 3 204ms 68ms 06 3 392ms 130ms 07 4 421ms 105ms 08 5 581ms 116ms 10 4 542ms 135ms 11 3 292ms 97ms 12 1 138ms 138ms 13 5 426ms 85ms 14 4 313ms 78ms 15 4 268ms 67ms 16 4 424ms 106ms 17 3 348ms 116ms 18 6 503ms 83ms 19 6 557ms 92ms 20 5 414ms 82ms 21 3 224ms 74ms 22 6 514ms 85ms [ User: postgres - Total duration: 3m43s - Times executed: 97 ]
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:30:02 Duration: 634ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 02:00:02 Duration: 464ms Database: postgres User: acaweb_fx Remote: postgres
-
with rankedmt4 as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors ), last_feed_entry as ( select * from rankedmt4 where r = 1 ), ok_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where status = 'OK' ), earliest_entry_after_ok as ( select m.datafeedname, min(m.eventtimestamp) as eventtimestamp from mt4datafeederrors m left outer join ( select datafeedname, eventtimestamp from ok_entries where r = 1) oo on m.datafeedname = oo.datafeedname where m.eventtimestamp > coalesce(oo.eventtimestamp, '1900-01-01'::timestamp without time zone) group by m.datafeedname ), notified_entries as ( select *, row_number() over (partition by datafeedname order by eventtimestamp desc) r from mt4datafeederrors where notified is not null and notified <> '' ), broker as ( select *, row_number() over (partition by feedname order by brokerid) r from ( select distinct b.brokerid, b.name as brokername, dss.classname as feedname from downloadersymbolsettings dss inner join brokersymbollist bsl on dss.symbolid = bsl.symbolid inner join broker b on bsl.brokerid = b.brokerid where dss.enabled = 1) a ) select last.id, last.datafeedname, last.eventtimestamp, last.status, last.errordescription, last.serveraddress, last.username, note.notified, note.eventtimestamp, broker.brokername from last_feed_entry last inner join earliest_entry_after_ok after_ok on last.datafeedname = after_ok.datafeedname inner join broker on last.datafeedname = broker.feedname left outer join ok_entries ok on ok.datafeedname = last.datafeedname left outer join notified_entries note on note.datafeedname = last.datafeedname and note.r = 1 where (ok.r is null or ok.r = 1) and last.datafeedname not in ( select distinct datafeedname from last_feed_entry where status = 'OK') and extract(epoch from (last.eventtimestamp - after_ok.eventtimestamp)) > 60 * 60 and last.eventtimestamp > current_timestamp - interval '1 day' and (note.eventtimestamp is null or note.eventtimestamp < current_timestamp - interval '10 hours') and last.eventtimestamp > current_timestamp - interval '1 hour' and broker.r = 1;
Date: 2021-07-26 03:00:03 Duration: 445ms Database: postgres User: acaweb_fx Remote: postgres
9 8s244ms 16 138ms 1s119ms 515ms SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 00 1 493ms 493ms 01 4 2s36ms 509ms 02 4 2s947ms 736ms 03 2 1s504ms 752ms 04 2 709ms 354ms 05 1 203ms 203ms 14 1 211ms 211ms 21 1 138ms 138ms [ User: postgres - Total duration: 15s297ms - Times executed: 16 ]
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 02:30:44 Duration: 1s119ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 03:30:13 Duration: 930ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT ns.nspname, a.typname, a.oid, a.typrelid, a.typbasetype, ;
Date: 2021-07-26 02:00:44 Duration: 749ms Database: postgres User: acaweb_fx Remote: postgres
10 7s412ms 26 53ms 1s91ms 285ms SELECT s.statsid, s.description, s.groupingname FROM stats s LEFT OUTER JOIN stats_summary ss ON ss.statsid = s.statsid WHERE brokerid = $1 AND ss.total > 0 GROUP BY s.statsid, s.description, s.brokerid, s.latestupdate, s.groupingname, s.calcfrom, s.calcto, ss.statsid;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 00 2 568ms 284ms 01 1 324ms 324ms 03 2 2s28ms 1s14ms 06 2 267ms 133ms 08 3 448ms 149ms 09 1 203ms 203ms 10 2 644ms 322ms 11 1 78ms 78ms 13 1 575ms 575ms 15 3 362ms 120ms 16 2 370ms 185ms 17 2 702ms 351ms 20 1 249ms 249ms 21 1 159ms 159ms 22 2 427ms 213ms [ User: postgres - Total duration: 4s392ms - Times executed: 26 ]
-
SELECT s.statsid, s.description, s.groupingname FROM stats s LEFT OUTER JOIN stats_summary ss ON ss.statsid = s.statsid WHERE brokerid = $1 AND ss.total > 0 GROUP BY s.statsid, s.description, s.brokerid, s.latestupdate, s.groupingname, s.calcfrom, s.calcto, ss.statsid;
Date: 2021-07-26 03:49:26 Duration: 1s91ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '692'
-
SELECT s.statsid, s.description, s.groupingname FROM stats s LEFT OUTER JOIN stats_summary ss ON ss.statsid = s.statsid WHERE brokerid = $1 AND ss.total > 0 GROUP BY s.statsid, s.description, s.brokerid, s.latestupdate, s.groupingname, s.calcfrom, s.calcto, ss.statsid;
Date: 2021-07-26 03:19:19 Duration: 937ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '558'
-
SELECT s.statsid, s.description, s.groupingname FROM stats s LEFT OUTER JOIN stats_summary ss ON ss.statsid = s.statsid WHERE brokerid = $1 AND ss.total > 0 GROUP BY s.statsid, s.description, s.brokerid, s.latestupdate, s.groupingname, s.calcfrom, s.calcto, ss.statsid;
Date: 2021-07-26 13:02:43 Duration: 575ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '558'
11 5s324ms 9 55ms 2s945ms 591ms SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 02 1 2s945ms 2s945ms 05 1 69ms 69ms 09 1 1s237ms 1s237ms 10 1 286ms 286ms 11 1 167ms 167ms 12 1 213ms 213ms 14 1 55ms 55ms 16 1 159ms 159ms 17 1 188ms 188ms [ User: postgres - Total duration: 5s838ms - Times executed: 9 ]
-
SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;
Date: 2021-07-26 02:33:48 Duration: 2s945ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '538'
-
SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;
Date: 2021-07-26 09:48:37 Duration: 1s237ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49'
-
SELECT s.statsid, s.description, s.groupingname, cast(ss.percentage as integer) as cppercentage, cast(hss.percentage as integer) as klpercentage, ;
Date: 2021-07-26 10:00:39 Duration: 286ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '660'
12 5s182ms 41 50ms 461ms 126ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 00 5 864ms 172ms 01 2 564ms 282ms 02 1 77ms 77ms 03 4 834ms 208ms 04 2 106ms 53ms 06 4 299ms 74ms 07 3 373ms 124ms 08 3 230ms 76ms 09 1 127ms 127ms 10 5 640ms 128ms 11 3 308ms 102ms 12 2 229ms 114ms 16 1 122ms 122ms 20 1 161ms 161ms 21 2 122ms 61ms 22 2 119ms 59ms [ User: postgres - Total duration: 9m46s - Times executed: 41 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:22:59 Duration: 461ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:17:57 Duration: 444ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout >= 1.0 AND patternendtime = LatestBarAtBreakoutTime AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 00:18:40 Duration: 369ms Database: postgres User: acaweb_fx Remote: postgres
13 4s634ms 33 51ms 456ms 140ms SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 00 3 697ms 232ms 01 1 445ms 445ms 02 1 78ms 78ms 03 4 826ms 206ms 04 1 53ms 53ms 06 3 240ms 80ms 07 3 379ms 126ms 08 2 181ms 90ms 09 1 127ms 127ms 10 4 596ms 149ms 11 3 313ms 104ms 12 2 228ms 114ms 16 1 120ms 120ms 20 1 161ms 161ms 21 1 71ms 71ms 22 2 112ms 56ms [ User: postgres - Total duration: 8m5s - Times executed: 33 ]
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 03:22:59 Duration: 456ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 01:17:57 Duration: 445ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT /*server.CPResultList*/ DISTINCT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, s.symbol, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, a.resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, gmttimefound, dftt.absolutetimezoneoffset as tzOs, dftt.timezone as tz, longname, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1) THEN 0 ELSE 1 END as relevant FROM symbols s INNER JOIN brokersymbollist b ON s.symbolid = b.symbolid INNER JOIN symbolgroup sg ON s.symbolid = sg.symbolid INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dftt ON dftt.classname = dss.classname INNER JOIN autochartist_results a ON a.symbolid = s.symbolid INNER JOIN Patterns p ON a.pattern = p.patternname LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid WHERE b.brokerid = 566 AND sg.groupid = 3600 AND breakout = - 1 AND patternlengthbars >= 20 AND patternquality >= 0.6 AND initialtrend >= 1.0 AND symmetry >= 1.0 AND noise <= 0.0 AND volumeincrease >= 0.0 AND TemporaryPattern = 0 AND PatternID & 65535 > 0 AND s.nonliquid = 0 AND s.deleted = 0 AND dss.enabled = 1 AND a.resultuid > 0 AND s.nonliquid = 0 AND dftt.dayofweek = 3 ORDER BY relevant DESC, age asc, PatternEndTime DESC, PatternQuality DESC LIMIT 50;
Date: 2021-07-26 00:18:40 Duration: 371ms Database: postgres User: acaweb_fx Remote: postgres
14 4s205ms 18 79ms 1s36ms 233ms SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE bsl.brokerid = $2 AND dtt.dayofweek = 3 AND (bdfi.code = $3 OR s.symbol = $4) GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 00 1 1s36ms 1s36ms 05 2 516ms 258ms 08 1 286ms 286ms 10 1 103ms 103ms 11 1 86ms 86ms 12 2 362ms 181ms 15 1 417ms 417ms 18 3 545ms 181ms 19 1 116ms 116ms 20 1 91ms 91ms 21 2 388ms 194ms 22 2 253ms 126ms [ User: postgres - Total duration: 8s736ms - Times executed: 18 ]
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE bsl.brokerid = $2 AND dtt.dayofweek = 3 AND (bdfi.code = $3 OR s.symbol = $4) GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 00:15:36 Duration: 1s36ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = '49', $3 = 'BTCUSD', $4 = 'BTCUSD'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE bsl.brokerid = $2 AND dtt.dayofweek = 3 AND (bdfi.code = $3 OR s.symbol = $4) GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 15:02:01 Duration: 417ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = '49', $3 = 'EURUSD', $4 = 'EURUSD'
-
SELECT dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, hour, (psh.ave - psh.stddev / 2.0) AS low, psh.ave, (psh.ave + psh.stddev / 2.0) AS high, psh.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM brokersymbollist bsl INNER JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid INNER JOIN powerstats_hourly psh ON psd.hourlysymbolID = psh.symbolid INNER JOIN symbols s ON psh.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN mat_ps_hourly_symbolid_max_enddate e ON psh.enddate = e.enddate AND psh.symbolid = e.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE bsl.brokerid = $2 AND dtt.dayofweek = 3 AND (bdfi.code = $3 OR s.symbol = $4) GROUP BY dss.downloadersymbol, psh.symbolid, s.symbol, s.longname, s.exchange, psh.hour, (psh.ave - psh.stddev / 2.0), psh.ave, (psh.ave + psh.stddev / 2.0), psh.enddate, dtt.absolutetimezoneoffset, dtt.timezone ORDER BY hour ASC;
Date: 2021-07-26 18:01:01 Duration: 384ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = '49', $3 = 'EURUSD', $4 = 'EURUSD'
15 3s354ms 18 54ms 801ms 186ms SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid AND psd.symbolID = dss.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid INNER JOIN symbols sy on sy.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 where (bdfi.code = $2 OR s.symbol = $3) and bsl.brokerid = $4 AND dtt.dayofweek = 3 ORDER BY day ASC;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 00 1 801ms 801ms 05 2 273ms 136ms 08 1 183ms 183ms 11 1 69ms 69ms 12 2 223ms 111ms 14 1 233ms 233ms 15 1 388ms 388ms 18 3 488ms 162ms 19 1 83ms 83ms 20 1 76ms 76ms 21 2 151ms 75ms 22 2 379ms 189ms [ User: postgres - Total duration: 5s564ms - Times executed: 18 ]
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid AND psd.symbolID = dss.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid INNER JOIN symbols sy on sy.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 where (bdfi.code = $2 OR s.symbol = $3) and bsl.brokerid = $4 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 00:15:39 Duration: 801ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = 'BTCUSD', $3 = 'BTCUSD', $4 = '49'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid AND psd.symbolID = dss.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid INNER JOIN symbols sy on sy.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 where (bdfi.code = $2 OR s.symbol = $3) and bsl.brokerid = $4 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 15:02:01 Duration: 388ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = 'USDRUB', $3 = 'USDRUB', $4 = '49'
-
SELECT DISTINCT dss.downloadersymbol, pssd.symbolid, s.symbol, s.longname, s.exchange, day, (pssd.ave - pssd.stddev / 2.0) AS low, pssd.ave, (pssd.ave + pssd.stddev / 2.0) AS high, pssd.enddate, dtt.absolutetimezoneoffset datafeedtimezoneoffset, dtt.timezone datafeedtimezonename FROM powerstats_daily pssd INNER JOIN downloadersymbolsettings dss ON pssd.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname INNER JOIN powerstats_symboldata psd ON psd.DailySymbolID = pssd.symbolid AND psd.symbolID = dss.symbolid INNER JOIN symbols s ON psd.DailySymbolID = s.symbolid and s.symbolid = dss.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN mat_ps_daily_symbolid_max_enddate e ON pssd.enddate = e.enddate AND pssd.symbolid = e.symbolid INNER JOIN symbols sy on sy.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 where (bdfi.code = $2 OR s.symbol = $3) and bsl.brokerid = $4 AND dtt.dayofweek = 3 ORDER BY day ASC;
Date: 2021-07-26 22:07:01 Duration: 324ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '49', $2 = 'BTCUSD', $3 = 'BTCUSD', $4 = '49'
16 3s42ms 24 51ms 298ms 126ms SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 00 1 91ms 91ms 01 1 298ms 298ms 02 3 749ms 249ms 03 2 124ms 62ms 04 2 195ms 97ms 05 1 78ms 78ms 06 2 165ms 82ms 13 2 371ms 185ms 14 3 262ms 87ms 16 1 63ms 63ms 18 1 189ms 189ms 19 3 277ms 92ms 21 2 175ms 87ms [ User: postgres - Total duration: 2s993ms - Times executed: 24 ]
-
SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;
Date: 2021-07-26 01:26:37 Duration: 298ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'XAGEUR', $2 = '529', $3 = 'XAGEUR', $4 = '30', $5 = 'XAGEUR', $6 = 'XAGEUR', $7 = '529', $8 = 'IG UNSCALED'
-
SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;
Date: 2021-07-26 02:49:36 Duration: 298ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'CHFJPY.GK', $2 = '640', $3 = 'CHFJPY.GK', $4 = '30', $5 = 'CHFJPY.GK', $6 = 'CHFJPY.GK', $7 = '640', $8 = 'IG UNSCALED'
-
SELECT trumpetSymbolID AS sid, trumpetTimeGranularity AS tg FROM brokersymbollist bsl LEFT JOIN powerstats_symboldata psd ON bsl.symbolid = psd.symbolid LEFT JOIN downloadersymbolsettings dss ON psd.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON code = $1 AND bdfi.brokerid = $2 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid LEFT OUTER JOIN symbols s ON dss.symbolid = s.symbolid AND s.symbol = $3 AND s.timegranularity = $4 WHERE (code = $5 OR s.symbol = $6) and bsl.brokerid = $7 AND dss.classname <> $8 GROUP BY trumpetSymbolID, trumpetTimeGranularity;
Date: 2021-07-26 13:48:34 Duration: 248ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'EURSEK', $2 = '566', $3 = 'EURSEK', $4 = '30', $5 = 'EURSEK', $6 = 'EURSEK', $7 = '566', $8 = 'IG UNSCALED'
17 2s906ms 28 50ms 307ms 103ms SELECT distinct psd.symbolID FROM symbols s INNER JOIN powerstats_symboldata psd ON s.symbolid = psd.symbolid INNER JOIN brokersymbollist bsl on psd.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss on bsl.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE (code = $2 OR symbol = $3) AND bsl.brokerid = $4 AND (dailySymbolID is not NULL OR hourlySymbolID IS NOT NULL OR trumpetSymbolID is not NULL) AND lastUpdated > current_timestamp - interval '30 days';Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 00 2 291ms 145ms 02 3 226ms 75ms 04 1 116ms 116ms 05 1 88ms 88ms 06 1 112ms 112ms 07 1 67ms 67ms 08 3 361ms 120ms 10 3 282ms 94ms 11 2 159ms 79ms 13 2 183ms 91ms 14 1 60ms 60ms 15 1 76ms 76ms 16 1 196ms 196ms 17 2 375ms 187ms 20 4 308ms 77ms [ User: postgres - Total duration: 8s591ms - Times executed: 28 ]
-
SELECT distinct psd.symbolID FROM symbols s INNER JOIN powerstats_symboldata psd ON s.symbolid = psd.symbolid INNER JOIN brokersymbollist bsl on psd.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss on bsl.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE (code = $2 OR symbol = $3) AND bsl.brokerid = $4 AND (dailySymbolID is not NULL OR hourlySymbolID IS NOT NULL OR trumpetSymbolID is not NULL) AND lastUpdated > current_timestamp - interval '30 days';
Date: 2021-07-26 17:30:48 Duration: 307ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '700', $2 = 'XAUUSD', $3 = 'XAUUSD', $4 = '700'
-
SELECT distinct psd.symbolID FROM symbols s INNER JOIN powerstats_symboldata psd ON s.symbolid = psd.symbolid INNER JOIN brokersymbollist bsl on psd.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss on bsl.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE (code = $2 OR symbol = $3) AND bsl.brokerid = $4 AND (dailySymbolID is not NULL OR hourlySymbolID IS NOT NULL OR trumpetSymbolID is not NULL) AND lastUpdated > current_timestamp - interval '30 days';
Date: 2021-07-26 16:47:31 Duration: 196ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '538', $2 = 'USDJPY', $3 = 'USDJPY', $4 = '538'
-
SELECT distinct psd.symbolID FROM symbols s INNER JOIN powerstats_symboldata psd ON s.symbolid = psd.symbolid INNER JOIN brokersymbollist bsl on psd.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss on bsl.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON dss.datafeedinstrumentid = bdfi.datafeedinstrumentid and bdfi.brokerid = $1 WHERE (code = $2 OR symbol = $3) AND bsl.brokerid = $4 AND (dailySymbolID is not NULL OR hourlySymbolID IS NOT NULL OR trumpetSymbolID is not NULL) AND lastUpdated > current_timestamp - interval '30 days';
Date: 2021-07-26 08:03:26 Duration: 182ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '478', $2 = 'FT_DJ30', $3 = 'FT_DJ30', $4 = '478'
18 2s588ms 1 2s588ms 2s588ms 2s588ms (( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 03 1 2s588ms 2s588ms [ User: postgres - Total duration: 24s40ms - Times executed: 1 ]
-
(( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_autochartist_results order by resultuid desc limit 1))) union all (( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_fibonacci_results order by resultuid desc limit 1))) union all (( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > ( select resultuid from relevance_keylevels_results order by resultuid desc limit 1)));
Date: 2021-07-26 03:07:28 Duration: 2s588ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '619', $2 = '619', $3 = '619', $4 = '619', $5 = '619', $6 = '619'
19 2s572ms 25 55ms 257ms 102ms SELECT groupid, ;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 01 1 219ms 219ms 02 1 257ms 257ms 03 3 392ms 130ms 04 2 133ms 66ms 05 2 148ms 74ms 06 3 217ms 72ms 07 3 233ms 77ms 08 2 137ms 68ms 09 1 89ms 89ms 10 4 499ms 124ms 11 3 244ms 81ms [ User: postgres - Total duration: 10s724ms - Times executed: 25 ]
-
SELECT groupid, ;
Date: 2021-07-26 02:15:04 Duration: 257ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954258'
-
SELECT groupid, ;
Date: 2021-07-26 01:10:27 Duration: 219ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954166'
-
SELECT groupid, ;
Date: 2021-07-26 03:15:05 Duration: 175ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '954126'
20 2s375ms 22 51ms 209ms 107ms SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 00 6 569ms 94ms 01 3 419ms 139ms 02 4 473ms 118ms 03 4 565ms 141ms 05 1 56ms 56ms 10 1 62ms 62ms 18 2 131ms 65ms 20 1 95ms 95ms [ User: postgres - Total duration: 13s449ms - Times executed: 22 ]
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 03:26:50 Duration: 209ms Database: postgres User: acaweb_fx Remote: postgres
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 01:15:47 Duration: 194ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = '986805'
-
SELECT whatshotlimit, whatshotpercent, groupname FROM whatshot_pref WHERE clientid = $1;
Date: 2021-07-26 02:03:47 Duration: 187ms Database: postgres User: acaweb_fx Remote: postgres parameters: $1 = 'aron.marton@pepperstone.com'
-
Events
Log levels
Key values
- 1,083,502 Log entries
Events distribution
Key values
- 0 PANIC entries
- 155 FATAL entries
- 51946 ERROR entries
- 6930 WARNING entries
Most Frequent Errors/Events
Key values
- 47,687 Max number of times the same event was reported
- 59,031 Total events found
Rank Times reported Error 1 47,687 LOG: process ... still waiting for AccessExclusiveLock on object 0 of class 1262 of database ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 26 00 91 01 3,414 02 4,549 03 6,781 04 3,124 05 166 06 1,243 07 2,239 08 2,859 09 294 10 1,044 11 726 12 1,616 13 1,365 14 1,766 15 2,824 16 2,305 17 4,008 18 965 19 3,317 20 603 21 1,866 22 522 - LOG: process 25139 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.047 ms
- LOG: process 26628 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.083 ms
- LOG: process 32270 still waiting for AccessExclusiveLock on object 0 of class 1262 of database 0 after 1000.042 ms
Detail: Process holding the lock: 15606. Wait queue: 25139, 15863, 26628, 2536, 28941, 29113, 20093, 32270, 23355, 9383, 27450.
Statement: INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 962206, '2021-07-26 00:30:00'::timestamp without time zone, 110.53, 110.55, 110.53, 110.55, 9, 0,'2021-07-26 00:45:09'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T15 WHERE symbolid = 962206 AND pricedatetime = '2021-07-26 00:30:00'::timestamp without time zone);;Date: 2021-07-26 00:45:10 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 15863. Wait queue: 26628, 2536, 28941, 29113, 20093, 32270, 23355, 9383, 27450.
Statement: INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 986815, '2021-07-26 01:30:00'::timestamp without time zone, 0.64192, 0.64204, 0.64166, 0.64169, 116, 0,'2021-07-26 00:45:09'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T15 WHERE symbolid = 986815 AND pricedatetime = '2021-07-26 01:30:00'::timestamp without time zone);;Date: 2021-07-26 00:45:11 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 20093. Wait queue: 32270, 23355, 9383, 27450, 15606, 15863, 25139, 26628, 2536, 29113, 28941.
Statement: INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919617, '2021-07-25 18:15:00'::timestamp without time zone, 0.73692, 0.73692, 0.7356, 0.73668, 200, 0,'2021-07-26 00:45:10'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T15 WHERE symbolid = 919617 AND pricedatetime = '2021-07-25 18:15:00'::timestamp without time zone);INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) SELECT 919617, '2021-07-25 18:30:00'::timestamp without time zone, 0.73682, 0.73687, 0.7356, 0.73667, 223, 0,'2021-07-26 00:45:10'::timestamp without time zone WHERE NOT EXISTS (SELECT 1 FROM T15 WHERE symbolid = 919617 AND pricedatetime = '2021-07-25 18:30:00'::timestamp without time zone);;Date: 2021-07-26 00:45:11 Database: acaweb_fx Application: User: postgres Remote:
2 6,930 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 26 00 318 01 282 02 338 03 278 04 278 05 280 06 308 07 278 08 278 09 278 10 308 11 278 12 278 13 278 14 308 15 278 16 278 17 278 18 308 19 278 20 278 21 278 22 308 23 280 - WARNING: there is no transaction in progress
Date: 2021-07-26 00:00:45 Database: acaweb_fx Application: User: postgres Remote:
3 3,582 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 26 00 1,347 01 36 02 39 03 12 04 29 05 1,731 06 18 07 28 08 27 09 19 10 27 11 37 12 17 13 15 14 26 15 33 16 28 17 21 18 21 19 14 20 17 21 12 22 27 23 1 - ERROR: duplicate key value violates unique constraint "pk_t15"
- ERROR: duplicate key value violates unique constraint "pk_t30"
- ERROR: duplicate key value violates unique constraint "pk_t60"
Detail: Key (pricedatetime, symbolid)=(2021-07-18 23:30:00, 960552) already exists.
Statement: INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960552, '2021-07-18 23:30', 25.6455, 25.6875, 25.6275, 25.6875, 0, 0,'2021-07-26 00:00');INSERT INTO T15_ps (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960552, '2021-07-18 23:30', 25.6455, 25.6875, 25.6275, 25.6875, 0, 0,'2021-07-26 00:00');Date: 2021-07-26 00:00:00 Database: acaweb_fx Application: User: postgres Remote:
Detail: Key (pricedatetime, symbolid)=(2021-07-18 23:30:00, 960590) already exists.
Statement: INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960590, '2021-07-18 23:30', 25.6455, 25.6985, 25.6275, 25.6965, 0, 0,'2021-07-26 00:00');INSERT INTO T30_ps (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960590, '2021-07-18 23:30', 25.6455, 25.6985, 25.6275, 25.6965, 0, 0,'2021-07-26 00:00');Date: 2021-07-26 00:00:43 Database: acaweb_fx Application: User: postgres Remote:
Detail: Key (pricedatetime, symbolid)=(2021-07-18 23:00:00, 960628) already exists.
Statement: INSERT INTO T60 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960628, '2021-07-18 23:00', 25.6455, 25.6985, 25.6275, 25.6965, 0, 0,'2021-07-26 00:01');INSERT INTO T60_ps (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimewritten) VALUES(960628, '2021-07-18 23:00', 25.6455, 25.6985, 25.6275, 25.6965, 0, 0,'2021-07-26 00:01');Date: 2021-07-26 00:01:06 Database: acaweb_fx Application: User: postgres Remote:
4 263 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 26 00 40 01 46 02 44 03 60 04 5 06 3 07 3 08 5 09 1 10 9 11 7 12 5 13 7 14 1 16 7 17 7 20 7 21 6 - ERROR: canceling statement due to user request
Statement: ( ( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_autochartist_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_fibonacci_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_keylevels_results order by resultuid desc limit 1) ) )
Date: 2021-07-26 00:03:28 Database: acaweb_fx Application: User: postgres Remote:
5 151 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 26 00 18 01 23 02 20 03 23 04 6 05 2 06 3 07 4 08 4 09 3 10 8 11 6 12 3 13 2 14 1 15 1 16 6 17 5 18 2 19 1 20 4 21 5 22 1 - FATAL: connection to client lost
Statement: ( ( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_autochartist_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_fibonacci_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_keylevels_results order by resultuid desc limit 1) ) )
Date: 2021-07-26 00:01:14 Database: acaweb_fx Application: User: postgres Remote:
6 125 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 26 00 46 01 22 02 18 03 24 04 5 05 1 08 1 09 6 12 1 21 1 - LOG: process 17460 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.044 ms at character 28
- LOG: process 31306 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.038 ms at character 28
- LOG: process 10837 still waiting for AccessShareLock on relation 52515 of database 51448 after 1000.039 ms at character 28
Detail: Process holding the lock: 26484. Wait queue: 17460.
Statement: SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'Alpari - 1'Date: 2021-07-26 00:17:03 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 26484. Wait queue: 17460, 31306, 10837.
Statement: SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ICMARKETS - 1'Date: 2021-07-26 00:17:06 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 26484. Wait queue: 17460, 31306, 10837.
Statement: SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'AXIORY - 1'Date: 2021-07-26 00:17:06 Database: acaweb_fx Application: User: postgres Remote:
7 102 ERROR: Unable to add downloadersymbol to broker, downloadersymbol is not unique for downloadersymbol ... and classname ..., or minimum time interval is not ..., or symbol is disabled in downloadersymbolsettings
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 26 00 51 04 51 - ERROR: Unable to add downloadersymbol to broker, downloadersymbol is not unique for downloadersymbol [DJ-SEP] and classname [VALBURYCAPITAL], or minimum time interval is not [15], or symbol is disabled in downloadersymbolsettings
- ERROR: Unable to add downloadersymbol to broker, downloadersymbol is not unique for downloadersymbol [NQ-SEP] and classname [VALBURYCAPITAL], or minimum time interval is not [15], or symbol is disabled in downloadersymbolsettings
- ERROR: Unable to add downloadersymbol to broker, downloadersymbol is not unique for downloadersymbol [SP-SEP] and classname [VALBURYCAPITAL], or minimum time interval is not [15], or symbol is disabled in downloadersymbolsettings
Context: PL/pgSQL function add_downloadersymboltobroker(integer,character varying,character varying,character varying,integer,integer,integer,boolean) line 35 at RAISE
Statement: select add_downloadersymboltobroker(642, 'DJ-SEP', 'VALBURYCAPITAL', 'Indexes'); ;Date: 2021-07-26 00:38:50 Database: acaweb_fx Application: User: postgres Remote:
Context: PL/pgSQL function add_downloadersymboltobroker(integer,character varying,character varying,character varying,integer,integer,integer,boolean) line 35 at RAISE
Statement: select add_downloadersymboltobroker(642, 'NQ-SEP', 'VALBURYCAPITAL', 'Indexes'); ;Date: 2021-07-26 00:41:41 Database: acaweb_fx Application: User: postgres Remote:
Context: PL/pgSQL function add_downloadersymboltobroker(integer,character varying,character varying,character varying,integer,integer,integer,boolean) line 35 at RAISE
Statement: select add_downloadersymboltobroker(642, 'SP-SEP', 'VALBURYCAPITAL', 'Indexes'); ;Date: 2021-07-26 00:44:32 Database: acaweb_fx Application: User: postgres Remote:
8 87 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 26 00 3 01 2 02 5 03 20 04 1 07 8 08 13 10 1 14 2 16 6 17 10 18 8 19 3 21 2 22 3 - LOG: process 18210 still waiting for ShareLock on transaction 98883962 after 1000.035 ms
- LOG: process 21498 still waiting for ShareLock on transaction 98895746 after 1000.049 ms
- LOG: process 17700 still waiting for ShareLock on transaction 98905408 after 1000.043 ms
Detail: Process holding the lock: 18211. Wait queue: 18210.
Context: while inserting index tuple (134145,4) in relation "keylevels_results"
Statement: INSERT INTO keylevels_results (bandwidth, breakout, patternid, gmttimefound, approachingtimestamp, approachingregion, qtytp, patternlengthbars, patternprice, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, breakoutbars, breakoutprice, patternendtime, atbaridentified, atpriceidentified, errorMargin, direction, symbolid, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimebars, uniquepointsvalue, furthestPrice, relevancestartdistance, patternclassid, patternstarttime, stoplosslevel, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, -1, 2, '2021-07-25 22:29:45'::timestamp without time zone, '2021-07-26 01:00:00', 0.000477499999999958372200000000, 4, 36, 1.082510000000000083000000000000, '2021-07-23 18:00:00', '2021-07-23 10:30:00', '2021-07-23 07:30:00', '2021-07-23 06:00:00', '', '', '', '', '', '', 60, 1.082432000000000061000000000000, '2021-07-26 01:00:00'::timestamp without time zone, '2021-07-26 01:00:00', 1.082729999999999970000000000000, 0.000107249999999992076600000000, -1, 1019050, 0.000000000000000000000000000000, 0.000000000000000000000000000000, '1900-01-01 00:00:00'::timestamp without time zone, 0, '|1019050|1.08251|2|2021-07-26 01:00:00|2021-07-26 01:00:00|-1|-1', 1.083168950000000130000000000000, 0.000658950000000046998200000000, 2, '2021-07-23 06:00:00', 1.083474999999999966000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM keylevels_results WHERE uniquepointsvalue = '|1019050|1.08251|2|2021-07-26 01:00:00|2021-07-26 01:00:00|-1|-1') LIMIT 1 ON CONFLICT DO NOTHING; ;Date: 2021-07-26 00:30:14 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 21497. Wait queue: 21498.
Context: while updating tuple (256,8) in relation "autochartist_symbolupdates" SQL statement "UPDATE autochartist_symbolupdates SET recengproccessedtime = NEW.patternendtime WHERE symbolid = NEW.symbolid AND recengproccessedtime < NEW.patternendtime" PL/pgSQL function cp_relevanceinsert_trigger() line 25 at SQL statement
Statement: INSERT INTO Autochartist_Results(ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient,RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) SELECT DISTINCT '982535-1|44400.6562|44400.9688|44400.75|44403.0521|10.0833|10.0767|10.0561|10.0516', 982535, 3.000000000000000000000000000000, 'Channel Down', 4, '2021-07-25 22:45:50'::timestamp without time zone, 1, 0.942190903474099283900000000000, -1.000000000000000000000000000000, 0.000000000000000000000000000000, 0.156434244629290814000000000000, 0.052662601599003919240000000000, 10.076464975217708897000000000000, 10.088119940522503271000000000000, '2021-07-26 01:30:00'::timestamp without time zone, '2021-07-27 06:22:30'::timestamp without time zone, '2021-07-23 15:45:00'::timestamp without time zone, '2021-07-26 01:30:00'::timestamp without time zone, 10.034990000000000521000000000000, 10.070539999999999381000000000000, '2021-07-23 15:45:00'::timestamp without time zone, '2021-07-23 23:15:00'::timestamp without time zone, '2021-07-23 18:00:00'::timestamp without time zone, '2021-07-26 01:15:00'::timestamp without time zone, 10.083280000000000243000000000000, 10.076739999999999142000000000000, 10.056110000000000326000000000000, 10.051629999999999399000000000000, -0.000154482758620721636800000000, -0.000218000000000036686600000000, 2.582687451538004275000000000000, 0.612806420147937514000000000000, 'Continuation', 0.000000000000000000000000000000, '2021-07-26 01:30:00'::timestamp without time zone, 10.068139999999999645000000000000, 39, 0, 0.026139999999999830040000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Autochartist_Results WHERE (breakout = -1.000000000000000000000000000000 and resx0 = '2021-07-23 15:45:00'::timestamp without time zone and resx1 = '2021-07-23 23:15:00'::timestamp without time zone and supportx0 = '2021-07-23 18:00:00'::timestamp without time zone and supportx1 = '2021-07-26 01:15:00'::timestamp without time zone and resy0 = 10.083280000000000243000000000000 and resy1 = 10.076739999999999142000000000000 and supporty0 = 10.056110000000000326000000000000 and supporty1 = 10.051629999999999399000000000000 and symbolid = 982535) or resultid = '982535-1|44400.6562|44400.9688|44400.75|44403.0521|10.0833|10.0767|10.0561|10.0516') LIMIT 1 ON CONFLICT DO NOTHING;;Date: 2021-07-26 00:46:18 Database: acaweb_fx Application: User: postgres Remote:
Detail: Process holding the lock: 17701. Wait queue: 17700.
Context: while inserting index tuple (22696,18) in relation "fibonacci_results"
Statement: INSERT INTO Fibonacci_Results( Bandwidth, Pattern, GMTTimeFound, Direction, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, QtyTP, pricex,timex, pricea,timea, priceb, timeb, pricec,timec, priced, timed, averagequality, timequality, errormargin, PatternLengthBars, target10, target06, target16, target07, target12, target05, target03, symbolid, noise, ratiosfound, temporarypattern, uniqueindex, completed, simulation, writtendatetime) SELECT DISTINCT 3.000000000000000000000000000000, 'Gartley', '2021-07-25 22:58:43'::timestamp without time zone, -1, '2021-07-23 04:30:00'::timestamp without time zone, '2021-07-26 00:00:00'::timestamp without time zone, 7.770699999999999718000000000000, -1.000000000000000000000000000000, 5, 7.770699999999999718000000000000, '2021-07-23 04:30:00'::timestamp without time zone, 7.767500000000000071000000000000, '2021-07-23 15:30:00'::timestamp without time zone, 7.769499999999999851000000000000, '2021-07-23 19:00:00'::timestamp without time zone, 7.767999999999999794000000000000, '2021-07-23 22:30:00'::timestamp without time zone, 7.770015684408959622000000000000, '1899-12-29 00:00:00'::timestamp without time zone, 0.673255281286772477800000000000, -1.000000000000000000000000000000, 4.099754381935269088000000000000, 39, 7.767999999999999794000000000000, 7.768769922933730143000000000000, 7.766754238524770315000000000000, 7.768431051333646309000000000000, 7.767451694233572290000000000000, 7.769007842204479708000000000000, 7.769245761475229272000000000000, 962192, 0.653489437426454933200000000000, 'BC=0.786*AB (0.75) ', 0, 'Gartley|-1|2021-07-23 04:30:00|7.7707|-1|5|39|BC=0.786*AB (0.75)|0|962192|2021-07-23 04:30:00|2021-07-23 15:30:00|2021-07-23 19:00:00|2021-07-23 22:30:00|1899-12-29 00:00:00', -1, 0, CURRENT_TIMESTAMP::timestamp without time zone WHERE NOT EXISTS ( SELECT 1 FROM Fibonacci_Results WHERE pattern ilike 'Gartley' AND direction = -1 AND patternstarttime = '2021-07-23 04:30:00'::timestamp without time zone AND patternstartprice = 7.770699999999999718000000000000 AND qtytp = 5 AND patternlengthbars = 39 AND ratiosfound = 'BC=0.786*AB (0.75) ' AND temporarypattern = 0 AND symbolid = 962192 AND timex = '2021-07-23 04:30:00'::timestamp without time zone AND timea = '2021-07-23 15:30:00'::timestamp without time zone AND timeb = '2021-07-23 19:00:00'::timestamp without time zone AND timec = '2021-07-23 22:30:00'::timestamp without time zone AND timed = '1899-12-29 00:00:00'::timestamp without time zone) LIMIT 1 ON CONFLICT DO NOTHING;;Date: 2021-07-26 00:59:12 Database: acaweb_fx Application: User: postgres Remote:
9 37 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 26 00 4 01 6 02 6 03 4 04 2 05 1 06 1 07 1 08 4 13 1 18 4 19 1 20 2 - ERROR: column "waiting" does not exist at character 103
- ERROR: column c.relhasoids does not exist at character 245
- ERROR: column "name" does not exist at character 41
Statement: select pid, datname, client_addr, query_start, query from pg_stat_activity where (state = 'active' or waiting = true) and query_start < current_timestamp - INTERVAL '10 minute' and query not like 'autovacuum%' order by query_start asc
Date: 2021-07-26 00:21:00 Database: acaweb_fx Application: User: postgres Remote:
Statement: select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids, attidentity, c.relhassubclass from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.oid = 52864) inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum
Date: 2021-07-26 04:47:27 Database: acaweb_fx Application: User: postgres Remote:
Statement: select * from datafeeds_latestrun where name = 'GIVCAPITAL'
Date: 2021-07-26 13:42:21 Database: acaweb_fx Application: User: postgres Remote:
10 35 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 26 01 2 02 2 03 1 05 1 06 3 07 1 08 1 09 5 10 2 11 2 12 3 13 2 15 3 16 2 17 3 20 2 - ERROR: relation "t0" does not exist at character 83
- ERROR: relation "timezones_vi_vn" does not exist at character 191
- ERROR: relation "timezones_th_th" does not exist at character 191
Statement: SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T0 WHERE symbolid = $1 AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050 ) a ORDER BY PriceDateTime ASC
Date: 2021-07-26 01:08:15 Database: acaweb_fx Application: User: postgres Remote:
Statement: SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset,0,4) as double precision)*60 + cast(substring(t.gmoffset,5,2) as double precision))/60 as gmoffset FROM timezones_vi_VN tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone
Date: 2021-07-26 01:39:12 Database: acaweb_fx Application: User: postgres Remote:
Statement: SELECT tl.timezone langTimezone, t.timezone as timezone, (cast(substring(t.gmoffset,0,4) as double precision)*60 + cast(substring(t.gmoffset,5,2) as double precision))/60 as gmoffset FROM timezones_th_TH tl INNER JOIN timezones t ON tl.timezoneid = t.timezoneid ORDER BY t.timezone
Date: 2021-07-26 06:14:34 Database: acaweb_fx Application: User: postgres Remote:
11 13 ERROR: canceling statement due to statement timeout
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 26 00 2 01 5 02 4 03 2 - ERROR: canceling statement due to statement timeout
Statement: SELECT extract(epoch from datetimeupdate) FROM latest_candle_datetime_per_receng WHERE recognitionengine ilike 'ADSSECURITIES - 1'
Date: 2021-07-26 00:32:58 Database: acaweb_fx Application: User: postgres Remote:
12 8 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 26 01 1 02 1 03 1 13 1 18 3 19 1 - ERROR: canceling autovacuum task
Context: while vacuuming index "pk_relevance_autochartist_results" of relation "public.relevance_autochartist_results" automatic vacuum of table "acaweb_fx.public.relevance_autochartist_results"
Date: 2021-07-26 01:47:32
13 7 LOG: process ... still waiting for ExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 26 01 1 02 1 13 1 18 3 19 1 - LOG: process 13054 still waiting for ExclusiveLock on relation 52717 of database 51448 after 1000.046 ms
- LOG: process 19934 still waiting for ExclusiveLock on relation 52717 of database 51448 after 1000.053 ms
- LOG: process 25586 still waiting for ExclusiveLock on relation 52717 of database 51448 after 1000.045 ms
Detail: Processes holding the lock: 29180, 12687, 12701, 31564, 11461, 12983, 26972, 12493, 10692, 12980, 1344, 12932, 13047, 13052, 13049. Wait queue: 13054.
Context: SQL statement "REFRESH MATERIALIZED VIEW CONCURRENTLY relevance_autochartist_results" PL/pgSQL function updateresultsmaterializedview() line 5 at SQL statement
Statement: select updateresultsmaterializedview()Date: 2021-07-26 01:47:32 Database: acaweb_fx Application: User: postgres Remote:
Detail: Processes holding the lock: 17844, 16126, 14200. Wait queue: 19934.
Context: SQL statement "REFRESH MATERIALIZED VIEW CONCURRENTLY relevance_autochartist_results" PL/pgSQL function updateresultsmaterializedview() line 5 at SQL statement
Statement: select updateresultsmaterializedview()Date: 2021-07-26 02:53:51 Database: acaweb_fx Application: User: postgres Remote:
Detail: Processes holding the lock: 25435, 25569. Wait queue: 25586.
Context: SQL statement "REFRESH MATERIALIZED VIEW CONCURRENTLY relevance_autochartist_results" PL/pgSQL function updateresultsmaterializedview() line 5 at SQL statement
Statement: select updateresultsmaterializedview()Date: 2021-07-26 13:22:08 Database: acaweb_fx Application: User: postgres Remote:
14 4 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #14
Day Hour Count Jul 26 03 4 - FATAL: terminating connection due to administrator command
Statement: ( ( SELECT /*CPRelevantList*/ distinct 0 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_autochartist_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $1 union select distinct 0 as patterntype, ar.resultuid as resultuid, 0, 1 from autochartist_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $2 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_autochartist_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 1 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_fibonacci_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $3 union select distinct 1 as patterntype, ar.resultuid as resultuid, 0, 1 from fibonacci_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $4 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_fibonacci_results order by resultuid desc limit 1) ) ) union all ( ( SELECT distinct 2 as patterntype, ar.resultuid as resultuid, rar.age, rar.relevant FROM keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid inner join symbols s on s.symbolid = bsl.symbolid inner join relevance_keylevels_results rar on rar.resultuid = ar.resultuid where bsl.brokerid = $5 union select distinct 2 as patterntype, ar.resultuid as resultuid, 0, 1 from keylevels_results ar inner join brokersymbollist bsl on bsl.symbolid = ar.symbolid and bsl.brokerid = $6 inner join symbols s on s.symbolid = bsl.symbolid where resultuid > (select resultuid from relevance_keylevels_results order by resultuid desc limit 1) ) )
Date: 2021-07-26 03:51:18