Query Metrics
4
Database Queries
4
Different statements
6.11 ms
Query time
0
Invalid entities
Queries
default connection
#▲ | Time | Info |
---|---|---|
1 | 1.50 ms |
SELECT DISTINCT id_5 FROM (SELECT DISTINCT id_5, entry_date_6 FROM (SELECT c0_.add_life AS add_life_0, c0_.add_top AS add_top_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.deleted_at AS deleted_at_4, c0_.id AS id_5, c0_.entry_date AS entry_date_6, c0_.title AS title_7, c0_.title_en AS title_en_8, c0_.title_cn AS title_cn_9, c0_.title_tw AS title_tw_10, c0_.enable AS enable_11, c0_.pub_date AS pub_date_12, c0_.close_date AS close_date_13, c0_.main_img AS main_img_14, c0_.main_img_width AS main_img_width_15, c0_.main_img_height AS main_img_height_16, c0_.thumbnail AS thumbnail_17, c0_.description AS description_18, c0_.link_url AS link_url_19, c0_.link_newtab AS link_newtab_20, c0_.content AS content_21, c0_.content_en AS content_en_22, c0_.content_cn AS content_cn_23, c0_.content_tw AS content_tw_24, c1_.id AS id_25, c2_.id AS id_26, c2_.enable AS enable_27 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) LEFT JOIN cms_news_category c2_ ON (c0_.category_id = c2_.id) AND (c2_.deleted_at IS NULL) WHERE (c0_.category_id = ? AND c0_.enable = ? AND (c0_.pub_date IS NULL OR c0_.pub_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c2_.enable = ?) AND (c0_.deleted_at IS NULL)) dctrn_result_inner ORDER BY entry_date_6 DESC, id_5 DESC) dctrn_result LIMIT 8
Parameters:
[ 2 1 "2025-04-05 17:37:28" "2025-04-05 17:37:28" 1 ] |
2 | 1.49 ms |
SELECT c0_.add_life AS add_life_0, c0_.add_top AS add_top_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.deleted_at AS deleted_at_4, c0_.id AS id_5, c0_.entry_date AS entry_date_6, c0_.title AS title_7, c0_.title_en AS title_en_8, c0_.title_cn AS title_cn_9, c0_.title_tw AS title_tw_10, c0_.enable AS enable_11, c0_.pub_date AS pub_date_12, c0_.close_date AS close_date_13, c0_.main_img AS main_img_14, c0_.main_img_width AS main_img_width_15, c0_.main_img_height AS main_img_height_16, c0_.thumbnail AS thumbnail_17, c0_.description AS description_18, c0_.link_url AS link_url_19, c0_.link_newtab AS link_newtab_20, c0_.content AS content_21, c0_.content_en AS content_en_22, c0_.content_cn AS content_cn_23, c0_.content_tw AS content_tw_24, c0_.category_id AS category_id_25 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) LEFT JOIN cms_news_category c2_ ON (c0_.category_id = c2_.id) AND (c2_.deleted_at IS NULL) WHERE (c0_.category_id = ? AND c0_.enable = ? AND (c0_.pub_date IS NULL OR c0_.pub_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c2_.enable = ? AND c0_.id IN (?)) AND (c0_.deleted_at IS NULL) ORDER BY c0_.entry_date DESC, c0_.id DESC
Parameters:
[ 2 1 "2025-04-05 17:37:28" "2025-04-05 17:37:28" 1 [ 2 ] ] |
3 | 0.59 ms |
SELECT c0_.is_topics AS is_topics_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.deleted_at AS deleted_at_3, c0_.id AS id_4, c0_.name AS name_5, c0_.name_en AS name_en_6, c0_.name_cn AS name_cn_7, c0_.name_tw AS name_tw_8, c0_.enable AS enable_9, c0_.sort AS sort_10, COUNT(c1_.category_id) AS sclr_11 FROM cms_news_category c0_ LEFT JOIN cms_news_entry c1_ ON (c0_.id = c1_.category_id) AND (c1_.deleted_at IS NULL) LEFT JOIN cms_news_category c2_ ON (c1_.category_id = c2_.id) AND (c2_.deleted_at IS NULL) WHERE (c0_.enable = ? AND c1_.enable = ? AND (c1_.pub_date IS NULL OR c1_.pub_date <= ?) AND (c1_.close_date IS NULL OR c1_.close_date >= ?) AND c2_.enable = ?) AND (c0_.deleted_at IS NULL) GROUP BY c1_.category_id ORDER BY c0_.sort ASC
Parameters:
[ 1 1 "2025-04-05 17:37:29" "2025-04-05 17:37:29" 1 ] |
4 | 2.52 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_5 FROM (SELECT c0_.add_life AS add_life_0, c0_.add_top AS add_top_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.deleted_at AS deleted_at_4, c0_.id AS id_5, c0_.entry_date AS entry_date_6, c0_.title AS title_7, c0_.title_en AS title_en_8, c0_.title_cn AS title_cn_9, c0_.title_tw AS title_tw_10, c0_.enable AS enable_11, c0_.pub_date AS pub_date_12, c0_.close_date AS close_date_13, c0_.main_img AS main_img_14, c0_.main_img_width AS main_img_width_15, c0_.main_img_height AS main_img_height_16, c0_.thumbnail AS thumbnail_17, c0_.description AS description_18, c0_.link_url AS link_url_19, c0_.link_newtab AS link_newtab_20, c0_.content AS content_21, c0_.content_en AS content_en_22, c0_.content_cn AS content_cn_23, c0_.content_tw AS content_tw_24 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) LEFT JOIN cms_news_category c2_ ON (c0_.category_id = c2_.id) AND (c2_.deleted_at IS NULL) WHERE (c0_.category_id = ? AND c0_.enable = ? AND (c0_.pub_date IS NULL OR c0_.pub_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c2_.enable = ?) AND (c0_.deleted_at IS NULL) ORDER BY c0_.entry_date DESC, c0_.id DESC) dctrn_result) dctrn_table
Parameters:
[ 2 1 "2025-04-05 17:37:28" "2025-04-05 17:37:28" 1 ] |
aws connection
No database queries were performed.
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
aws | doctrine.dbal.aws_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\Account\ApiToken | No errors. |
App\Entity\News\Entry | No errors. |
App\Entity\News\Category | No errors. |
App\Entity\News\Child | No errors. |