Query Metrics
34
Database Queries
18
Different statements
57.34 ms
Query time
0
Invalid entities
13
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
11.13 ms (19.40%) |
1 |
SELECT n0.path AS n0_path, n0.identifier AS n0_identifier, n0.props AS n0_props FROM phpcr_nodes n0 WHERE n0.workspace_name = ? AND n0.type IN ('nt:unstructured', 'rep:root') AND ((EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:page"]) > 0') OR EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:home"]) > 0')) AND (((0 != FIND_IN_SET('2', REPLACE(EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-state"]/sv:value'), ' ', ',')) OR EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-shadow-on"]/sv:value[1]') = '1') AND EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="i18n:en-navContexts"]/sv:value[text()="primary_desktop"]) > 0')) AND n0.path LIKE '/cmf/www/contents/%')) ORDER BY CAST(EXTRACTVALUE(n0.numerical_props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') AS DECIMAL) ASC, EXTRACTVALUE(n0.props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') ASC
Parameters:
[
"www_live"
]
|
|
8.84 ms (15.42%) |
1 |
SELECT n0.path AS n0_path, n0.identifier AS n0_identifier, n0.props AS n0_props FROM phpcr_nodes n0 WHERE n0.workspace_name = ? AND n0.type IN ('nt:unstructured', 'rep:root') AND ((EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:page"]) > 0') OR EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:home"]) > 0')) AND (((0 != FIND_IN_SET('2', REPLACE(EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-state"]/sv:value'), ' ', ',')) OR EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-shadow-on"]/sv:value[1]') = '1') AND EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="i18n:en-navContexts"]/sv:value[text()="pre_header"]) > 0')) AND n0.path LIKE '/cmf/www/contents/%')) ORDER BY CAST(EXTRACTVALUE(n0.numerical_props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') AS DECIMAL) ASC, EXTRACTVALUE(n0.props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') ASC
Parameters:
[
"www_live"
]
|
|
7.06 ms (12.32%) |
1 |
SELECT n0.path AS n0_path, n0.identifier AS n0_identifier, n0.props AS n0_props FROM phpcr_nodes n0 WHERE n0.workspace_name = ? AND n0.type IN ('nt:unstructured', 'rep:root') AND ((EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:page"]) > 0') OR EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="jcr:mixinTypes"]/sv:value[text()="sulu:home"]) > 0')) AND (((0 != FIND_IN_SET('2', REPLACE(EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-state"]/sv:value'), ' ', ',')) OR EXTRACTVALUE(n0.props, '//sv:property[@sv:name="i18n:en-shadow-on"]/sv:value[1]') = '1') AND EXTRACTVALUE(n0.props, 'count(//sv:property[@sv:name="i18n:en-navContexts"]/sv:value[text()="primary_mobile"]) > 0')) AND n0.path LIKE '/cmf/www/contents/%')) ORDER BY CAST(EXTRACTVALUE(n0.numerical_props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') AS DECIMAL) ASC, EXTRACTVALUE(n0.props, '//sv:property[@sv:name="sulu:order"]/sv:value[1]') ASC
Parameters:
[
"www_live"
]
|
|
4.82 ms (8.41%) |
3 |
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:
[] |
|
3.98 ms (6.95%) |
5 |
SELECT * FROM phpcr_nodes WHERE path = ? AND workspace_name = ? ORDER BY depth, sort_order ASC
Parameters:
[ "/cmf/www/routes/en/windscreen-faqs/6" "www_live" ] |
|
3.76 ms (6.55%) |
5 |
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[ "/cmf/www/contents/faqs" "www_live" ] |
|
3.16 ms (5.51%) |
5 |
SELECT t0.path AS path_1, t0.locale AS locale_2, t0.entity_class AS entity_class_3, t0.entity_id AS entity_id_4, t0.history AS history_5, t0.id AS id_6, t0.created AS created_7, t0.changed AS changed_8, t0.target AS target_9, t0.idUsersCreator AS idUsersCreator_10, t0.idUsersChanger AS idUsersChanger_11 FROM ro_routes t0 WHERE t0.id = ?
Parameters:
[
7
]
|
|
2.58 ms (4.50%) |
2 |
SELECT f0_.id AS id_0, f0_.active AS active_1, f0_.title AS title_2, f0_.sortPosition AS sortPosition_3, f0_.route AS route_4 FROM faq__category f0_ INNER JOIN faq__faq f1_ ON f0_.id = f1_.category_id WHERE f0_.active = ? AND f1_.active = ? GROUP BY f0_.id HAVING count(f1_.id) > 0 ORDER BY f0_.sortPosition ASC, f0_.title ASC
Parameters:
[ 1 1 ] |
|
2.08 ms (3.63%) |
2 |
SELECT f0_.id AS id_0, f0_.active AS active_1, f0_.question AS question_2, f0_.answer AS answer_3, f0_.answerRaw AS answerRaw_4, f0_.answerFormat AS answerFormat_5, f0_.sortPosition AS sortPosition_6, f0_.category_id AS category_id_7 FROM faq__faq f0_ INNER JOIN faq__category f1_ ON f0_.category_id = f1_.id WHERE f0_.active = ? AND f1_.active = ? AND f1_.id = ? ORDER BY f0_.sortPosition ASC, f0_.question ASC, f1_.sortPosition ASC, f1_.title ASC
Parameters:
[ 1 1 6 ] |
|
1.65 ms (2.88%) |
1 |
SELECT r0_.path AS path_0, r0_.locale AS locale_1, r0_.entity_class AS entity_class_2, r0_.entity_id AS entity_id_3, r0_.history AS history_4, r0_.id AS id_5, r0_.created AS created_6, r0_.changed AS changed_7, r1_.path AS path_8, r1_.locale AS locale_9, r1_.entity_class AS entity_class_10, r1_.entity_id AS entity_id_11, r1_.history AS history_12, r1_.id AS id_13, r1_.created AS created_14, r1_.changed AS changed_15, r0_.target AS target_16, r0_.idUsersCreator AS idUsersCreator_17, r0_.idUsersChanger AS idUsersChanger_18, r1_.target AS target_19, r1_.idUsersCreator AS idUsersCreator_20, r1_.idUsersChanger AS idUsersChanger_21 FROM ro_routes r0_ LEFT JOIN ro_routes r1_ ON r0_.target = r1_.id WHERE r0_.path = ? AND r0_.locale = ?
Parameters:
[ "/windscreen-faqs/6" "en" ] |
|
1.40 ms (2.44%) |
1 |
SELECT 1 FROM phpcr_workspaces WHERE name = ?
Parameters:
[
"www_live"
]
|
|
1.34 ms (2.33%) |
1 |
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?, ?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[ "/cmf/www/contents/franchise" "/cmf/www/contents/warranty" "www_live" ] |
|
1.28 ms (2.24%) |
1 |
SELECT t0.id AS id_1, t0.active AS active_2, t0.title AS title_3, t0.sortPosition AS sortPosition_4, t0.route AS route_5 FROM faq__category t0 WHERE t0.id = ?
Parameters:
[
"6"
]
|
|
1.03 ms (1.79%) |
1 |
SELECT path AS arraykey, id, path, parent, local_name, namespace, workspace_name, identifier, type, props, depth, sort_order FROM phpcr_nodes WHERE workspace_name = ? AND (path = ? OR path = ? OR path = ? OR path = ?) ORDER BY sort_order ASC
Parameters:
[ "www_live" "/cmf/www/contents/windscreen-repair" "/cmf/www/contents/make-a-payment" "/cmf/www/contents/insurance-details" "/cmf/www/contents/contact-us" ] |
|
0.92 ms (1.61%) |
1 |
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:
[ "www_live" "1e483faf-34ca-4fe4-977e-2ec9e8ba42c9" ] |
|
0.87 ms (1.52%) |
1 |
SELECT path AS arraykey, id, path, parent, local_name, namespace, workspace_name, identifier, type, props, depth, sort_order FROM phpcr_nodes WHERE workspace_name = ? AND (path = ? OR path = ?) ORDER BY sort_order ASC
Parameters:
[ "www_live" "/cmf/www/contents/franchise" "/cmf/www/contents/warranty" ] |
|
0.79 ms (1.37%) |
1 |
SELECT path, parent FROM phpcr_nodes WHERE parent IN (?, ?, ?, ?) AND workspace_name = ? ORDER BY sort_order ASC
Parameters:
[ "/cmf/www/contents/windscreen-repair" "/cmf/www/contents/make-a-payment" "/cmf/www/contents/insurance-details" "/cmf/www/contents/contact-us" "www_live" ] |
|
0.64 ms (1.12%) |
1 |
SELECT prefix, uri FROM phpcr_namespaces
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.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| Sulu\Bundle\RouteBundle\Entity\Route | 6 |
| App\Entity\Faq\Category | 6 |
| App\Entity\Faq\Faq | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| Sulu\Bundle\TrashBundle\Domain\Model\TrashItem | No errors. |
| Sulu\Bundle\MediaBundle\Entity\Collection | No errors. |
| Sulu\Bundle\ContactBundle\Entity\ContactTitle | No errors. |
| Sulu\Bundle\SecurityBundle\Entity\Group | No errors. |
| Sulu\Bundle\RouteBundle\Entity\Route | No errors. |
| Sulu\Bundle\SecurityBundle\Entity\User | No errors. |
| App\Entity\Faq\Category | No errors. |
| App\Entity\Faq\Faq | No errors. |