Query Metrics
23
Database Queries
16
Different statements
32.46 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
14.99 ms (46.19%) |
2 |
SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME
Parameters:
[
"spudt"
]
|
|
4.78 ms (14.72%) |
1 |
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 */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'spudt' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[ "spudt" "doctrine_migration_versions" ] |
|
3.79 ms (11.67%) |
1 |
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_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[ "spudt" "spudt" "doctrine_migration_versions" ] |
|
1.54 ms (4.73%) |
1 |
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14, k1_.id AS id_15, k1_.ln_id AS ln_id_16, k1_.category_name AS category_name_17, k1_.category_description AS category_description_18, k1_.short_desc AS short_desc_19, k1_.meta_title AS meta_title_20, k1_.meta_keywords AS meta_keywords_21, k1_.meta_description AS meta_description_22, k1_.category_id AS category_id_23 FROM Categories c0_ LEFT JOIN kk_categories_ln k1_ ON c0_.category_id = k1_.category_id WHERE c0_.active = 1 AND c0_.category_left > ? AND c0_.category_right < ? AND c0_.category_level = ? AND c0_.category_id > 0 AND c0_.is_empty = 0 ORDER BY c0_.category_left ASC, c0_.category_left ASC
Parameters:
[ 1 886 1 ] |
|
1.51 ms (4.64%) |
6 |
SELECT DATABASE()
Parameters:
[] |
|
1.22 ms (3.75%) |
1 |
SELECT c0_.category_id AS category_id_0, c0_.category_left AS category_left_1, c0_.category_right AS category_right_2, c0_.active AS active_3 FROM Categories c0_ WHERE c0_.active = ? ORDER BY c0_.category_left ASC
Parameters:
[
0
]
|
|
0.91 ms (2.80%) |
1 |
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14, k1_.id AS id_15, k1_.ln_id AS ln_id_16, k1_.category_name AS category_name_17, k1_.category_description AS category_description_18, k1_.short_desc AS short_desc_19, k1_.meta_title AS meta_title_20, k1_.meta_keywords AS meta_keywords_21, k1_.meta_description AS meta_description_22, k1_.category_id AS category_id_23 FROM Categories c0_ LEFT JOIN kk_categories_ln k1_ ON c0_.category_id = k1_.category_id WHERE c0_.active = 1 AND c0_.category_left > ? AND c0_.category_right < ? AND c0_.category_level = ? AND c0_.category_id > 0 AND c0_.is_empty = 0 ORDER BY c0_.category_left ASC
Parameters:
[ 2 15 2 ] |
|
0.86 ms (2.64%) |
1 |
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14 FROM Categories c0_ WHERE c0_.active = 1 AND c0_.category_id = ? AND (NOT (c0_.category_left BETWEEN 16 AND 881)) LIMIT 1
Parameters:
[
0
]
|
|
0.85 ms (2.63%) |
1 |
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 /*M!101001 ccsa.FULL_COLLATION_NAME = t.TABLE_COLLATION OR */ ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[ "spudt" "doctrine_migration_versions" ] |
|
0.44 ms (1.35%) |
1 |
SELECT s0_.setting_id AS setting_id_0, s0_.type AS type_1, s0_.setting_name AS setting_name_2, s0_.setting_value AS setting_value_3, s0_.description AS description_4 FROM store_settings s0_ LEFT JOIN kk_settings_ln k1_ ON s0_.setting_id = k1_.setting_id WHERE s0_.type = 'site' AND s0_.setting_name IN (?, ?, ?) LIMIT 3
Parameters:
[ "notify_top" "datepicker" "notify_url" ] |
|
0.42 ms (1.28%) |
2 |
SELECT t0.setting_id AS setting_id_1, t0.ln_id AS ln_id_2, t0.setting_value AS setting_value_3, t0.setting_id AS setting_id_4 FROM kk_settings_ln t0 WHERE t0.setting_id = ?
Parameters:
[
15
]
|
|
0.29 ms (0.89%) |
1 |
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:
[ "spudt" "doctrine_migration_versions" ] |
|
0.27 ms (0.83%) |
1 |
SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.code AS code_2, k0_.active AS active_3, k0_.default AS default_4 FROM kk_language k0_ WHERE k0_.code = ? LIMIT 1
Parameters:
[
"ru"
]
|
|
0.25 ms (0.77%) |
1 |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.as_default AS as_default_2, s0_.product AS product_3, s0_.static AS static_4, s0_.news AS news_5, s0_.category AS category_6, s0_.subcategory AS subcategory_7, s0_.main AS main_8, s0_.catalog AS catalog_9 FROM seo_templates s0_ WHERE s0_.as_default = ? LIMIT 1
Parameters:
[
1
]
|
|
0.21 ms (0.64%) |
1 |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
|
0.15 ms (0.47%) |
1 |
SELECT t0.data_id AS data_id_1, t0.ln_id AS ln_id_2, t0.product AS product_3, t0.static AS static_4, t0.news AS news_5, t0.category AS category_6, t0.subcategory AS subcategory_7, t0.main AS main_8, t0.catalog AS catalog_9, t0.data_id AS data_id_10 FROM kk_seo_templates_ln t0 WHERE t0.data_id = ?
Parameters:
[
1
]
|
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 |
|---|---|
| SoftUa\SeoBundle\Entity\SeoTemplate | No errors. |
| SoftUa\SeoBundle\Entity\SeoTemplateTranslation | No errors. |
| SoftUa\CoreBundle\Entity\DataLanguage | No errors. |
| SoftUa\CategoryBundle\Entity\Category | No errors. |
| SoftUa\CategoryBundle\Entity\CategoryTranslation | No errors. |
| SoftUa\HeaderNotificationBundle\Entity\StoreSettings | No errors. |
| SoftUa\HeaderNotificationBundle\Entity\StoreSettingsTranslation | No errors. |