https://stg.fujikitchen.com/news/

Query Metrics

4 Database Queries
4 Different statements
2.62 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 1.10 ms
SELECT c0_.deleted_at AS deleted_at_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.id AS id_3, c0_.name AS name_4, c0_.enable AS enable_5, c0_.sort AS sort_6, COUNT(c1_.category_id) AS sclr_7 FROM cms_news_category c0_ LEFT JOIN cms_news_entry c1_ ON (c0_.id = c1_.category_id) AND (c1_.deleted_at IS NULL) WHERE (c0_.enable = 1 AND c1_.enable = 1 AND (c1_.publish_date IS NULL OR c1_.publish_date <= ?) AND (c1_.close_date IS NULL OR c1_.close_date >= ?)) AND (c0_.deleted_at IS NULL) GROUP BY c1_.category_id ORDER BY c1_.entry_date DESC, c1_.id DESC
Parameters:
[
  "2024-11-21 16:08:08"
  "2024-11-21 16:08:08"
]
2 0.67 ms
SELECT DISTINCT id_3 FROM (SELECT DISTINCT id_3, entry_date_4 FROM (SELECT c0_.deleted_at AS deleted_at_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.id AS id_3, c0_.entry_date AS entry_date_4, c0_.title AS title_5, c0_.enable AS enable_6, c0_.content AS content_7, c0_.description AS description_8, c0_.link_url AS link_url_9, c0_.link_new_tab AS link_new_tab_10, c0_.publish_date AS publish_date_11, c0_.close_date AS close_date_12, c1_.id AS id_13, c1_.enable AS enable_14 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) WHERE (c0_.enable = 1 AND (c0_.publish_date IS NULL OR c0_.publish_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c1_.enable = 1) AND (c0_.deleted_at IS NULL)) dctrn_result_inner ORDER BY entry_date_4 DESC, id_3 DESC) dctrn_result LIMIT 7
Parameters:
[
  "2024-11-21 16:08:08"
  "2024-11-21 16:08:08"
]
3 0.36 ms
SELECT c0_.deleted_at AS deleted_at_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.id AS id_3, c0_.entry_date AS entry_date_4, c0_.title AS title_5, c0_.enable AS enable_6, c0_.content AS content_7, c0_.description AS description_8, c0_.link_url AS link_url_9, c0_.link_new_tab AS link_new_tab_10, c0_.publish_date AS publish_date_11, c0_.close_date AS close_date_12, c0_.category_id AS category_id_13 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) WHERE (c0_.enable = 1 AND (c0_.publish_date IS NULL OR c0_.publish_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c1_.enable = 1 AND c0_.id IN (?)) AND (c0_.deleted_at IS NULL) ORDER BY c0_.entry_date DESC, c0_.id DESC
Parameters:
[
  "2024-11-21 16:08:08"
  "2024-11-21 16:08:08"
  4
]
4 0.50 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_3 FROM (SELECT c0_.deleted_at AS deleted_at_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.id AS id_3, c0_.entry_date AS entry_date_4, c0_.title AS title_5, c0_.enable AS enable_6, c0_.content AS content_7, c0_.description AS description_8, c0_.link_url AS link_url_9, c0_.link_new_tab AS link_new_tab_10, c0_.publish_date AS publish_date_11, c0_.close_date AS close_date_12 FROM cms_news_entry c0_ LEFT JOIN cms_news_category c1_ ON (c0_.category_id = c1_.id) AND (c1_.deleted_at IS NULL) WHERE (c0_.enable = 1 AND (c0_.publish_date IS NULL OR c0_.publish_date <= ?) AND (c0_.close_date IS NULL OR c0_.close_date >= ?) AND c1_.enable = 1) AND (c0_.deleted_at IS NULL) ORDER BY c0_.entry_date DESC, c0_.id DESC) dctrn_result) dctrn_table
Parameters:
[
  "2024-11-21 16:08:08"
  "2024-11-21 16:08:08"
]

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\News\Category No errors.
App\Entity\News\Entry No errors.
App\Entity\News\Child No errors.