GET http://whitefrog-nginx/api/v1/candle/USDMXN_otc/132?limit=2400

Query Metrics

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

Grouped Statements

Show all queries

Time▼ Count Info
451.24 ms
(99.33%)
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:
[
  132
  132
  167
  132
  132
  167
  316668
]
3.03 ms
(0.67%)
1
SELECT a.* FROM assets a WHERE a.symbol = ?
Parameters:
[
  "USDMXN_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