GET http://whitefrog-nginx/api/v1/candle/UAHUSD_otc/115?limit=2400

Query Metrics

2 Database Queries
2 Different statements
400.13 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
396.76 ms
(99.16%)
1
SELECT FLOOR(q.time / ?) * ? AS bucket, (array_agg(q.price ORDER BY q.time ASC))[1] AS open, MAX(q.price) AS high, MIN(q.price) AS low, (array_agg(q.price ORDER BY q.time DESC))[1] AS close FROM quotes q WHERE (q.asset_id = ?) AND (q.time >= (SELECT FLOOR(MAX(l.time) / ?) * ? FROM quotes l WHERE l.asset_id = ?) - ?) GROUP BY bucket ORDER BY bucket DESC LIMIT 2400
Parameters:
[
  115
  115
  138
  115
  115
  138
  275885
]
3.37 ms
(0.84%)
1
SELECT a.* FROM assets a WHERE a.symbol = ?
Parameters:
[
  "UAHUSD_otc"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping