Query Metrics

18 Database Queries
16 Different statements
208.35 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 16.70 ms
SELECT t0.id AS id_1, t0.main_pic AS main_pic_2, t0.updated_at AS updated_at_3, t0.slug AS slug_4, t0.emirate_id AS emirate_id_5 FROM community t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "al-qarayen-3"
]
2 22.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.latitude AS latitude_3, t0.longitude AS longitude_4, t0.date_of_consctruct AS date_of_consctruct_5, t0.style AS style_6, t0.surface AS surface_7, t0.height AS height_8, t0.is_women AS is_women_9, t0.is_english AS is_english_10, t0.imam AS imam_11, t0.side_pic AS side_pic_12, t0.name_plate_pic AS name_plate_pic_13, t0.entry_pic AS entry_pic_14, t0.main_pic AS main_pic_15, t0.num AS num_16, t0.community_name AS community_name_17, t0.is_jumah AS is_jumah_18, t0.slug AS slug_19, t0.community_id AS community_id_20, t21.id AS id_22, t21.main_pic AS main_pic_23, t21.updated_at AS updated_at_24, t21.slug AS slug_25, t21.emirate_id AS emirate_id_26 FROM masjid t0 INNER JOIN community t21 ON t0.community_id = t21.id WHERE t0.community_id = ?
Parameters:
[
  70
]
3 0.51 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.locale AS locale_3, t0.translatable_id AS translatable_id_4 FROM community_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  70
]
4 20.62 ms
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[]
5 0.49 ms
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[]
6 2.83 ms
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'sharjah' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ASC
Parameters:
[]
7 3.17 ms
SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON   c.constraint_name = k.constraint_name AND   c.table_name = 'doctrine_migration_versions' */ WHERE k.table_name = 'doctrine_migration_versions' AND k.table_schema = 'sharjah' /*!50116 AND c.constraint_schema = 'sharjah' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[]
8 0.40 ms
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'doctrine_migration_versions' AND TABLE_SCHEMA = 'sharjah' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[]
9 0.35 ms
SELECT ENGINE, AUTO_INCREMENT, TABLE_COLLATION, TABLE_COMMENT, CREATE_OPTIONS
FROM information_schema.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'doctrine_migration_versions'
Parameters:
[]
10 0.22 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
11 17.89 ms
SELECT t0.id AS id_1, t0.path AS path_2, t0.title AS title_3, t0.caption AS caption_4, t0.updated_at AS updated_at_5, t0.masjid_id AS masjid_id_6 FROM picture t0 WHERE t0.masjid_id = ?
Parameters:
[
  186
]
12 0.58 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.locale AS locale_4, t0.translatable_id AS translatable_id_5 FROM masjid_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  186
]
13 0.49 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.latitude AS latitude_3, t0.longitude AS longitude_4, t0.date_of_consctruct AS date_of_consctruct_5, t0.style AS style_6, t0.surface AS surface_7, t0.height AS height_8, t0.is_women AS is_women_9, t0.is_english AS is_english_10, t0.imam AS imam_11, t0.side_pic AS side_pic_12, t0.name_plate_pic AS name_plate_pic_13, t0.entry_pic AS entry_pic_14, t0.main_pic AS main_pic_15, t0.num AS num_16, t0.community_name AS community_name_17, t0.is_jumah AS is_jumah_18, t0.slug AS slug_19, t0.community_id AS community_id_20, t21.id AS id_22, t21.main_pic AS main_pic_23, t21.updated_at AS updated_at_24, t21.slug AS slug_25, t21.emirate_id AS emirate_id_26 FROM masjid t0 INNER JOIN community t21 ON t0.community_id = t21.id WHERE t0.id = ?
Parameters:
[
  1
]
14 25.09 ms
SELECT (6371 * ACOS(COS(RADIANS(25.331269653395342)) * COS(RADIANS(m0_.latitude)) * COS(RADIANS(m0_.longitude) - RADIANS(55.357811534443165)) + SIN(RADIANS(25.331269653395342)) * SIN(RADIANS(m0_.latitude)))) AS sclr_0, m0_.id AS id_1, m0_.name AS name_2, m0_.latitude AS latitude_3, m0_.longitude AS longitude_4, m0_.date_of_consctruct AS date_of_consctruct_5, m0_.style AS style_6, m0_.surface AS surface_7, m0_.height AS height_8, m0_.is_women AS is_women_9, m0_.is_english AS is_english_10, m0_.imam AS imam_11, m0_.side_pic AS side_pic_12, m0_.name_plate_pic AS name_plate_pic_13, m0_.entry_pic AS entry_pic_14, m0_.main_pic AS main_pic_15, m0_.num AS num_16, m0_.community_name AS community_name_17, m0_.is_jumah AS is_jumah_18, m0_.slug AS slug_19, m1_.id AS id_20, m1_.name AS name_21, m1_.description AS description_22, m1_.locale AS locale_23, p2_.id AS id_24, p2_.path AS path_25, p2_.title AS title_26, p2_.caption AS caption_27, p2_.updated_at AS updated_at_28 FROM masjid m0_ INNER JOIN masjid_translation m1_ ON m0_.id = m1_.translatable_id INNER JOIN picture p2_ ON m0_.id = p2_.masjid_id HAVING sclr_0 < ? ORDER BY sclr_0 ASC
Parameters:
[
  2
]
15 18.02 ms
SELECT RAND() AS sclr_0, c0_.id AS id_1, c0_.main_pic AS main_pic_2, c0_.updated_at AS updated_at_3, c0_.slug AS slug_4, c1_.id AS id_5, c1_.name AS name_6, c1_.locale AS locale_7 FROM community c0_ INNER JOIN community_translation c1_ ON c0_.id = c1_.translatable_id ORDER BY RAND() ASC
Parameters:
[]
16 13.18 ms
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.latitude AS latitude_2, m0_.longitude AS longitude_3, m0_.date_of_consctruct AS date_of_consctruct_4, m0_.style AS style_5, m0_.surface AS surface_6, m0_.height AS height_7, m0_.is_women AS is_women_8, m0_.is_english AS is_english_9, m0_.imam AS imam_10, m0_.side_pic AS side_pic_11, m0_.name_plate_pic AS name_plate_pic_12, m0_.entry_pic AS entry_pic_13, m0_.main_pic AS main_pic_14, m0_.num AS num_15, m0_.community_name AS community_name_16, m0_.is_jumah AS is_jumah_17, m0_.slug AS slug_18, m1_.id AS id_19, m1_.name AS name_20, m1_.description AS description_21, m1_.locale AS locale_22 FROM masjid m0_ INNER JOIN masjid_translation m1_ ON m0_.id = m1_.translatable_id WHERE m0_.community_id = ? ORDER BY RAND() ASC
Parameters:
[
  5
]
17 6.72 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.locale AS locale_3, t0.translatable_id AS translatable_id_4 FROM community_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
  5
]
18 58.78 ms
SELECT RAND() AS sclr_0, m0_.id AS id_1, m0_.name AS name_2, m0_.latitude AS latitude_3, m0_.longitude AS longitude_4, m0_.date_of_consctruct AS date_of_consctruct_5, m0_.style AS style_6, m0_.surface AS surface_7, m0_.height AS height_8, m0_.is_women AS is_women_9, m0_.is_english AS is_english_10, m0_.imam AS imam_11, m0_.side_pic AS side_pic_12, m0_.name_plate_pic AS name_plate_pic_13, m0_.entry_pic AS entry_pic_14, m0_.main_pic AS main_pic_15, m0_.num AS num_16, m0_.community_name AS community_name_17, m0_.is_jumah AS is_jumah_18, m0_.slug AS slug_19, m1_.id AS id_20, m1_.name AS name_21, m1_.description AS description_22, m1_.locale AS locale_23, c2_.id AS id_24, c2_.main_pic AS main_pic_25, c2_.updated_at AS updated_at_26, c2_.slug AS slug_27, c3_.id AS id_28, c3_.name AS name_29, c3_.locale AS locale_30, p4_.id AS id_31, p4_.path AS path_32, p4_.title AS title_33, p4_.caption AS caption_34, p4_.updated_at AS updated_at_35 FROM masjid m0_ INNER JOIN masjid_translation m1_ ON m0_.id = m1_.translatable_id INNER JOIN community c2_ ON m0_.community_id = c2_.id INNER JOIN community_translation c3_ ON c2_.id = c3_.translatable_id INNER JOIN picture p4_ ON m0_.id = p4_.masjid_id ORDER BY RAND() ASC
Parameters:
[]

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.

Entities Mapping

Class Mapping errors
App\Entity\Community No errors.
App\Entity\Emirate No errors.
App\Entity\Masjid No errors.
App\Entity\CommunityTranslation No errors.
App\Entity\Comment No errors.
App\Entity\Picture No errors.
App\Entity\MasjidTranslation No errors.
App\Entity\EmirateTranslation No errors.
App\Entity\User No errors.