app/worker/historize_towns_around_worker.rb:18
- Average Self
-
1,519ms
- Average calls
- 1x
- Total Self
- 1,519ms
- Total Children
- 0ms
- Total runtime
- 1,519ms
SELECT `towns`.* FROM `towns` WHERE (updated_at < ?) AND ((population BETWEEN ? AND ? AND getRange(towns.latitude, towns.longitude, ?, ?) < ?)
OR (population BETWEEN ? AND ? AND getRange(towns.latitude, towns.longitude, ?, ?) < ?)
OR (population BETWEEN ? AND ? AND getRange(towns.latitude, towns.longitude, ?, ?) < ?)
OR (population > ? AND getRange(towns.latitude, towns.longitude, ?, ?) < ?)) ORDER BY `towns`.`id` ASC LIMIT ?
|
app/worker/historize_towns_around_worker.rb:9
- Average Self
-
2ms
- Average calls
- 0.4x
- Total Self
- 0.8ms
- Total Children
- 0ms
- Total runtime
- 0.8ms
SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SESSION.sql_auto_is_null = ?, @@SESSION.wait_timeout = ?
|