Query Metrics
26
Database Queries
18
Different statements
110.37 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.78 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.slug = ? LIMIT 1
Parameters:
[
"al-hubab-ibn-al-munther"
]
|
| 2 | 9.85 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, m0_.community_id AS community_id_19 FROM masjid m0_ WHERE m0_.id < ? ORDER BY m0_.id DESC LIMIT 1
Parameters:
[
95
]
|
| 3 | 0.89 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, m0_.community_id AS community_id_19 FROM masjid m0_ WHERE m0_.id > ? ORDER BY m0_.id ASC LIMIT 1
Parameters:
[
95
]
|
| 4 | 0.78 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.id IN (?)
Parameters:
[
[
37
]
]
|
| 5 | 1.95 ms |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.content AS content_3, t0.is_enabled AS is_enabled_4, t0.masjid_id AS masjid_id_5, t0.author_id AS author_id_6 FROM comment t0 WHERE t0.masjid_id = ? AND t0.is_enabled = ?
Parameters:
[ 95 1 ] |
| 6 | 14.92 ms |
SELECT COUNT(p0_.id) AS sclr_0, m1_.id AS id_1, m1_.name AS name_2, m1_.latitude AS latitude_3, m1_.longitude AS longitude_4, m1_.date_of_consctruct AS date_of_consctruct_5, m1_.style AS style_6, m1_.surface AS surface_7, m1_.height AS height_8, m1_.is_women AS is_women_9, m1_.is_english AS is_english_10, m1_.imam AS imam_11, m1_.side_pic AS side_pic_12, m1_.name_plate_pic AS name_plate_pic_13, m1_.entry_pic AS entry_pic_14, m1_.main_pic AS main_pic_15, m1_.num AS num_16, m1_.community_name AS community_name_17, m1_.is_jumah AS is_jumah_18, m1_.slug AS slug_19, m1_.community_id AS community_id_20 FROM masjid m1_ LEFT JOIN picture p0_ ON m1_.id = p0_.masjid_id GROUP BY m1_.id, m1_.name, m1_.latitude, m1_.longitude, m1_.date_of_consctruct, m1_.style, m1_.surface, m1_.height, m1_.is_women, m1_.is_english, m1_.imam, m1_.side_pic, m1_.name_plate_pic, m1_.entry_pic, m1_.main_pic, m1_.num, m1_.community_name, m1_.is_jumah, m1_.slug, m1_.community_id HAVING count(m1_.id) > 1 ORDER BY RAND() ASC LIMIT 2
Parameters:
[] |
| 7 | 3.94 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.id IN (?)
Parameters:
[
[
3
5
]
]
|
| 8 | 12.41 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:
[
95
]
|
| 9 | 6.47 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 10 | 7.73 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 11 | 1.04 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:
[] |
| 12 | 0.42 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:
[] |
| 13 | 0.99 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:
[] |
| 14 | 0.34 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:
[] |
| 15 | 0.19 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 16 | 6.06 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:
[
95
]
|
| 17 | 0.57 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:
[
134
]
|
| 18 | 0.51 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:
[
57
]
|
| 19 | 0.27 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:
[
3
]
|
| 20 | 0.24 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:
[
57
]
|
| 21 | 0.37 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:
[
422
]
|
| 22 | 3.12 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
]
|
| 23 | 0.30 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:
[
422
]
|
| 24 | 13.27 ms |
SELECT (6371 * ACOS(COS(RADIANS(25.34166881)) * COS(RADIANS(m0_.latitude)) * COS(RADIANS(m0_.longitude) - RADIANS(55.39657771)) + SIN(RADIANS(25.34166881)) * 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
]
|
| 25 | 16.72 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:
[] |
| 26 | 5.23 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:
[
134
]
|
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\Masjid | No errors. |
| App\Entity\Community | No errors. |
| App\Entity\Emirate | No errors. |
| App\Entity\Comment | No errors. |
| App\Entity\Picture | No errors. |
| App\Entity\MasjidTranslation | No errors. |
| App\Entity\CommunityTranslation | No errors. |
| App\Entity\User | No errors. |
| App\Entity\EmirateTranslation | No errors. |