Query Metrics

32 Database Queries
19 Different statements
64.02 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 1.55 ms
SELECT t0.id AS id_1, t0.api_id AS api_id_2, t0.agency_name AS agency_name_3, t0.agency_reference AS agency_reference_4, t0.lastupdate AS lastupdate_5, t0.status_id AS status_id_6, t0.reference AS reference_7, t0.name AS name_8, t0.adresse AS adresse_9, t0.price AS price_10, t0.surface AS surface_11, t0.rooms AS rooms_12, t0.bathrooms AS bathrooms_13, t0.showerrooms AS showerrooms_14, t0.bedrooms AS bedrooms_15, t0.floor AS floor_16, t0.description AS description_17, t0.promotion_id AS promotion_id_18, t0.transaction_type AS transaction_type_19, t0.enabled AS enabled_20, t0.featured AS featured_21, t0.type_property AS type_property_22, t0.longitude AS longitude_23, t0.latitude AS latitude_24, t0.zip AS zip_25, t0.videos_object AS videos_object_26, t0.visit3ds_object AS visit3ds_object_27, t0.disponibilite_date AS disponibilite_date_28, t0.status AS status_29, t0.country_fr AS country_fr_30, t0.district_fr AS district_fr_31, t0.canton_fr AS canton_fr_32, t0.quarter_fr AS quarter_fr_33, t0.zone_fr AS zone_fr_34, t0.city_fr AS city_fr_35, t0.disponible_fr AS disponible_fr_36, t0.broker_id AS broker_id_37, t0.country_id AS country_id_38, t0.canton_id AS canton_id_39, t0.district_id AS district_id_40, t0.quarter_id AS quarter_id_41, t0.zone_id AS zone_id_42, t0.city_id AS city_id_43, t0.type_id AS type_id_44, t0.disponible_id AS disponible_id_45 FROM property t0 WHERE t0.id = ?
Parameters:
[
  137
]
2 0.69 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.code AS code_3, t0.periorite AS periorite_4 FROM type t0 WHERE t0.id = ?
Parameters:
[
  10
]
3 0.78 ms
SELECT t0.id AS id_1, t0.url AS url_2, t0.path AS path_3, t0.ref AS ref_4, t0.ordre AS ordre_5, t0.property_id AS property_id_6, t0.broker_id AS broker_id_7 FROM photo t0 WHERE t0.property_id = ?
Parameters:
[
  137
]
4 0.70 ms
SELECT t0.id AS id_1, t0.broker_id AS broker_id_2, t0.last_name AS last_name_3, t0.first_name AS first_name_4, t0.job AS job_5, t0.email AS email_6, t0.phone AS phone_7, t0.mobile AS mobile_8 FROM broker t0 WHERE t0.id = ?
Parameters:
[
  6
]
5 1.77 ms
SELECT DISTINCT p0_.id AS id_0, p0_.api_id AS api_id_1, p0_.agency_name AS agency_name_2, p0_.agency_reference AS agency_reference_3, p0_.lastupdate AS lastupdate_4, p0_.status_id AS status_id_5, p0_.reference AS reference_6, p0_.name AS name_7, p0_.adresse AS adresse_8, p0_.price AS price_9, p0_.surface AS surface_10, p0_.rooms AS rooms_11, p0_.bathrooms AS bathrooms_12, p0_.showerrooms AS showerrooms_13, p0_.bedrooms AS bedrooms_14, p0_.floor AS floor_15, p0_.description AS description_16, p0_.promotion_id AS promotion_id_17, p0_.transaction_type AS transaction_type_18, p0_.enabled AS enabled_19, p0_.featured AS featured_20, p0_.type_property AS type_property_21, p0_.longitude AS longitude_22, p0_.latitude AS latitude_23, p0_.zip AS zip_24, p0_.videos_object AS videos_object_25, p0_.visit3ds_object AS visit3ds_object_26, p0_.disponibilite_date AS disponibilite_date_27, p0_.status AS status_28, p0_.country_fr AS country_fr_29, p0_.district_fr AS district_fr_30, p0_.canton_fr AS canton_fr_31, p0_.quarter_fr AS quarter_fr_32, p0_.zone_fr AS zone_fr_33, p0_.city_fr AS city_fr_34, p0_.disponible_fr AS disponible_fr_35, SQRT((p1_.latitude - p0_.latitude) * (p1_.latitude - p0_.latitude) + (p1_.longitude - p0_.longitude) * (p1_.longitude - p0_.longitude)) AS sclr_36, p0_.broker_id AS broker_id_37, p0_.country_id AS country_id_38, p0_.canton_id AS canton_id_39, p0_.district_id AS district_id_40, p0_.quarter_id AS quarter_id_41, p0_.zone_id AS zone_id_42, p0_.city_id AS city_id_43, p0_.type_id AS type_id_44, p0_.disponible_id AS disponible_id_45 FROM property p0_ INNER JOIN property p1_ WHERE p0_.transaction_type = ? AND p1_.id = 137 AND p0_.id <> 137 AND p1_.type_id = p0_.type_id AND p0_.surface <= p1_.surface + (p1_.surface * 0.5) AND p0_.surface >= p1_.surface - (p1_.surface * 0.5) AND p0_.price <= p1_.price + (p1_.price * 0.5) AND p0_.price >= p1_.price - (p1_.price * 0.5) HAVING sclr_36 <= 35000 ORDER BY p0_.id DESC
Parameters:
[
  2
]
6 0.40 ms
SELECT DATABASE()
Parameters:
[]
7 7.79 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "rm9b6_bn_invest"
]
8 0.27 ms
SELECT DATABASE()
Parameters:
[]
9 2.05 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "rm9b6_bn_invest"
]
10 0.22 ms
SELECT DATABASE()
Parameters:
[]
11 1.01 ms
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
            ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "rm9b6_bn_invest"
  "doctrine_migration_versions"
]
12 0.20 ms
SELECT DATABASE()
Parameters:
[]
13 25.83 ms
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!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 = k.TABLE_NAME
AND c.CONSTRAINT_SCHEMA = k.TABLE_SCHEMA */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "rm9b6_bn_invest"
  "doctrine_migration_versions"
]
14 10.13 ms
SELECT       c.COLUMN_NAME        AS field,
       c.COLUMN_TYPE        AS type,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS comment,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS collation
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_SCHEMA = c.TABLE_SCHEMA
        AND t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "rm9b6_bn_invest"
  "doctrine_migration_versions"
]
15 0.39 ms
SELECT DATABASE()
Parameters:
[]
16 0.71 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_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "rm9b6_bn_invest"
  "doctrine_migration_versions"
]
17 0.38 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
18 0.24 ms
SELECT DATABASE()
Parameters:
[]
19 1.16 ms
SELECT p0_.id AS id_0, p0_.api_id AS api_id_1, p0_.agency_name AS agency_name_2, p0_.agency_reference AS agency_reference_3, p0_.lastupdate AS lastupdate_4, p0_.status_id AS status_id_5, p0_.reference AS reference_6, p0_.name AS name_7, p0_.adresse AS adresse_8, p0_.price AS price_9, p0_.surface AS surface_10, p0_.rooms AS rooms_11, p0_.bathrooms AS bathrooms_12, p0_.showerrooms AS showerrooms_13, p0_.bedrooms AS bedrooms_14, p0_.floor AS floor_15, p0_.description AS description_16, p0_.promotion_id AS promotion_id_17, p0_.transaction_type AS transaction_type_18, p0_.enabled AS enabled_19, p0_.featured AS featured_20, p0_.type_property AS type_property_21, p0_.longitude AS longitude_22, p0_.latitude AS latitude_23, p0_.zip AS zip_24, p0_.videos_object AS videos_object_25, p0_.visit3ds_object AS visit3ds_object_26, p0_.disponibilite_date AS disponibilite_date_27, p0_.status AS status_28, p0_.country_fr AS country_fr_29, p0_.district_fr AS district_fr_30, p0_.canton_fr AS canton_fr_31, p0_.quarter_fr AS quarter_fr_32, p0_.zone_fr AS zone_fr_33, p0_.city_fr AS city_fr_34, p0_.disponible_fr AS disponible_fr_35, p0_.broker_id AS broker_id_36, p0_.country_id AS country_id_37, p0_.canton_id AS canton_id_38, p0_.district_id AS district_id_39, p0_.quarter_id AS quarter_id_40, p0_.zone_id AS zone_id_41, p0_.city_id AS city_id_42, p0_.type_id AS type_id_43, p0_.disponible_id AS disponible_id_44 FROM property p0_ INNER JOIN type t1_ ON p0_.type_id = t1_.id WHERE p0_.transaction_type = ? ORDER BY p0_.id DESC
Parameters:
[
  2
]
20 0.34 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.code AS code_3, t0.periorite AS periorite_4 FROM type t0 WHERE t0.id = ?
Parameters:
[
  5
]
21 0.58 ms
SELECT t0.id AS id_1, t0.url AS url_2, t0.path AS path_3, t0.ref AS ref_4, t0.ordre AS ordre_5, t0.property_id AS property_id_6, t0.broker_id AS broker_id_7 FROM photo t0 WHERE t0.property_id = ?
Parameters:
[
  135
]
22 0.31 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.code AS code_3, t0.periorite AS periorite_4 FROM type t0 WHERE t0.id = ?
Parameters:
[
  6
]
23 0.44 ms
SELECT t0.id AS id_1, t0.url AS url_2, t0.path AS path_3, t0.ref AS ref_4, t0.ordre AS ordre_5, t0.property_id AS property_id_6, t0.broker_id AS broker_id_7 FROM photo t0 WHERE t0.property_id = ?
Parameters:
[
  126
]
24 0.71 ms
SELECT 1 FROM phpcr_workspaces WHERE name = ?
Parameters:
[
  "default_live"
]
25 0.40 ms
SELECT prefix, uri FROM phpcr_namespaces
Parameters:
[]
26 0.52 ms
SELECT * FROM phpcr_nodes
              WHERE path = ?
                AND workspace_name = ?
              ORDER BY depth, sort_order ASC
Parameters:
[
  "/cmf/bernard_nicod_commercial"
  "default_live"
]
27 0.74 ms
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[
  "/cmf/bernard_nicod_commercial"
  "default_live"
]
28 1.05 ms
SELECT
phpcr_type_nodes.name AS node_name, phpcr_type_nodes.is_abstract AS node_abstract,
phpcr_type_nodes.is_mixin AS node_mixin, phpcr_type_nodes.queryable AS node_queryable,
phpcr_type_nodes.orderable_child_nodes AS node_has_orderable_child_nodes,
phpcr_type_nodes.primary_item AS node_primary_item_name, phpcr_type_nodes.supertypes AS declared_super_type_names,
phpcr_type_props.name AS property_name, phpcr_type_props.auto_created AS property_auto_created,
phpcr_type_props.mandatory AS property_mandatory, phpcr_type_props.protected AS property_protected,
phpcr_type_props.on_parent_version AS property_on_parent_version,
phpcr_type_props.required_type AS property_required_type, phpcr_type_props.multiple AS property_multiple,
phpcr_type_props.fulltext_searchable AS property_fulltext_searchable,
phpcr_type_props.query_orderable AS property_query_orderable, phpcr_type_props.default_value as property_default_value,
phpcr_type_childs.name AS child_name, phpcr_type_childs.auto_created AS child_auto_created,
phpcr_type_childs.mandatory AS child_mandatory, phpcr_type_childs.protected AS child_protected,
phpcr_type_childs.on_parent_version AS child_on_parent_version, phpcr_type_childs.default_type AS child_default_type,
phpcr_type_childs.primary_types AS child_primary_types
FROM
phpcr_type_nodes
LEFT JOIN
phpcr_type_props ON phpcr_type_nodes.node_type_id = phpcr_type_props.node_type_id
LEFT JOIN
phpcr_type_childs ON phpcr_type_nodes.node_type_id = phpcr_type_childs.node_type_id
Parameters:
[]
29 0.40 ms
SELECT id, path, parent, local_name, namespace, workspace_name, identifier, type, props, depth, sort_order
            FROM phpcr_nodes WHERE workspace_name = ? AND identifier IN (?)
Parameters:
[
  "default_live"
  "93d0d8f6-d6ce-41fb-a61c-0dd11212e858"
]
30 0.52 ms
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[
  "/cmf/snippets/offres/envoyer-un-message"
  "default_live"
]
31 0.41 ms
SELECT * FROM phpcr_nodes
              WHERE path = ?
                AND workspace_name = ?
              ORDER BY depth, sort_order ASC
Parameters:
[
  "/cmf/snippets/offres"
  "default_live"
]
32 1.32 ms
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[
  "/cmf/snippets/offres"
  "default_live"
]

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
Sulu\Bundle\SecurityBundle\Entity\Group No errors.
Sulu\Bundle\TrashBundle\Domain\Model\TrashItem No errors.
Sulu\Bundle\MediaBundle\Entity\Collection No errors.
Sulu\Bundle\ContactBundle\Entity\ContactTitle No errors.
App\Entity\Type No errors.
App\Entity\CantonSearch No errors.
App\Entity\DistrictSearch No errors.
App\Entity\VilleSearch No errors.
App\Entity\ZoneSearch No errors.
App\Entity\Property No errors.
App\Entity\Broker No errors.
App\Entity\Country No errors.
App\Entity\Canton No errors.
App\Entity\District No errors.
App\Entity\Quarter No errors.
App\Entity\Zone No errors.
App\Entity\City No errors.
App\Entity\Choice No errors.
App\Entity\Photo No errors.
App\Entity\Distance No errors.
Sulu\Bundle\SecurityBundle\Entity\UserGroup No errors.
Sulu\Bundle\SecurityBundle\Entity\Role No errors.
Sulu\Bundle\SecurityBundle\Entity\User No errors.
Sulu\Bundle\TrashBundle\Domain\Model\TrashItemTranslation No errors.
Sulu\Bundle\MediaBundle\Entity\CollectionMeta No errors.
Sulu\Bundle\MediaBundle\Entity\CollectionType No errors.
Sulu\Bundle\MediaBundle\Entity\Media No errors.
App\Entity\CommuneSearch No errors.
Sulu\Bundle\SecurityBundle\Entity\Permission No errors.
Sulu\Bundle\SecurityBundle\Entity\UserRole No errors.
Sulu\Bundle\SecurityBundle\Entity\RoleSetting No errors.
Sulu\Bundle\SecurityBundle\Entity\SecurityType No errors.
Sulu\Bundle\SecurityBundle\Entity\UserSetting No errors.
Sulu\Bundle\ContactBundle\Entity\Contact No errors.
Sulu\Bundle\MediaBundle\Entity\File No errors.
Sulu\Bundle\MediaBundle\Entity\MediaType No errors.