Query Metrics

49 Database Queries
16 Different statements
119.04 ms Query time
2 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Grouped Statements

Show all queries

Time Count Info
44.35 ms
(37.25%)
2
SELECT a0_.title AS title_0, a0_.slug AS slug_1, c1_.slug AS slug_2, f2_.url AS url_3, f2_.description AS description_4 FROM article a0_ INNER JOIN category c1_ ON (c1_.id = a0_.category_id) INNER JOIN FILE f2_ ON (a0_.image_card_id = f2_.id) WHERE a0_.featured = 1 AND a0_.status = 'published' AND a0_.published_at <= ? AND c1_.status = ? LIMIT 8
Parameters:
[
  "2025-01-15 01:24:44"
  "published"
]
19.93 ms
(16.74%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.introtext AS introtext_3, a0_.content AS content_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.deleted_at AS deleted_at_7, a0_.status AS status_8, a0_.featured AS featured_9, a0_.main_view AS main_view_10, a0_.clicks AS clicks_11, a0_.reviewed_at AS reviewed_at_12, a0_.metakey AS metakey_13, a0_.metadesc AS metadesc_14, a0_.robots AS robots_15, a0_.published_at AS published_at_16, a0_.canonical AS canonical_17, a0_.super_tag AS super_tag_18, a0_.user_id AS user_id_19, a0_.category_id AS category_id_20, a0_.image_card_id AS image_card_id_21, a0_.image_header_id AS image_header_id_22 FROM article a0_ WHERE a0_.reviewed_at IS NOT NULL AND a0_.category_id IS NOT NULL AND a0_.status = ? AND a0_.published_at <= ? ORDER BY a0_.published_at DESC LIMIT 5
Parameters:
[
  "published"
  "2025-01-15 01:24:44"
]
13.53 ms
(11.36%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.introtext AS introtext_3, a0_.content AS content_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.deleted_at AS deleted_at_7, a0_.status AS status_8, a0_.featured AS featured_9, a0_.main_view AS main_view_10, a0_.clicks AS clicks_11, a0_.reviewed_at AS reviewed_at_12, a0_.metakey AS metakey_13, a0_.metadesc AS metadesc_14, a0_.robots AS robots_15, a0_.published_at AS published_at_16, a0_.canonical AS canonical_17, a0_.super_tag AS super_tag_18, a0_.user_id AS user_id_19, a0_.category_id AS category_id_20, a0_.image_card_id AS image_card_id_21, a0_.image_header_id AS image_header_id_22 FROM article a0_ WHERE a0_.category_id = ? AND a0_.status = ? AND a0_.published_at <= ? AND a0_.id <> ? ORDER BY a0_.published_at DESC LIMIT 3
Parameters:
[
  118
  "published"
  "2025-01-15 01:24:44"
  18214
]
7.75 ms
(6.51%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.introtext AS introtext_3, a0_.content AS content_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.deleted_at AS deleted_at_7, a0_.status AS status_8, a0_.featured AS featured_9, a0_.main_view AS main_view_10, a0_.clicks AS clicks_11, a0_.reviewed_at AS reviewed_at_12, a0_.metakey AS metakey_13, a0_.metadesc AS metadesc_14, a0_.robots AS robots_15, a0_.published_at AS published_at_16, a0_.canonical AS canonical_17, a0_.super_tag AS super_tag_18, a0_.user_id AS user_id_19, a0_.category_id AS category_id_20, a0_.image_card_id AS image_card_id_21, a0_.image_header_id AS image_header_id_22 FROM article a0_ WHERE a0_.category_id = ? AND a0_.status = ? AND a0_.featured = ? AND a0_.published_at <= ? ORDER BY a0_.published_at DESC LIMIT 1
Parameters:
[
  118
  "published"
  1
  "2025-01-15 01:24:44"
]
7.58 ms
(6.37%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.introtext AS introtext_3, a0_.content AS content_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.deleted_at AS deleted_at_7, a0_.status AS status_8, a0_.featured AS featured_9, a0_.main_view AS main_view_10, a0_.clicks AS clicks_11, a0_.reviewed_at AS reviewed_at_12, a0_.metakey AS metakey_13, a0_.metadesc AS metadesc_14, a0_.robots AS robots_15, a0_.published_at AS published_at_16, a0_.canonical AS canonical_17, a0_.super_tag AS super_tag_18, a0_.user_id AS user_id_19, a0_.category_id AS category_id_20, a0_.image_card_id AS image_card_id_21, a0_.image_header_id AS image_header_id_22 FROM article a0_ WHERE a0_.category_id = ? AND a0_.status = ? AND a0_.published_at <= ? AND a0_.id <> ? ORDER BY a0_.published_at DESC LIMIT 6 OFFSET 3
Parameters:
[
  118
  "published"
  "2025-01-15 01:24:44"
  18214
]
6.79 ms
(5.70%)
1
SELECT a0_.title AS title_0, a0_.slug AS slug_1, c1_.slug AS slug_2, f2_.url AS url_3, f2_.description AS description_4 FROM article a0_ INNER JOIN category c1_ ON (c1_.id = a0_.category_id) INNER JOIN FILE f2_ ON (a0_.image_card_id = f2_.id) WHERE a0_.category_id = ? AND a0_.status = 'published' AND a0_.published_at <= ? AND c1_.status = ? ORDER BY a0_.clicks DESC LIMIT 8
Parameters:
[
  118
  "2025-01-15 01:24:44"
  "published"
]
6.03 ms
(5.07%)
1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.slug AS slug_2, a0_.introtext AS introtext_3, a0_.content AS content_4, a0_.created_at AS created_at_5, a0_.updated_at AS updated_at_6, a0_.deleted_at AS deleted_at_7, a0_.status AS status_8, a0_.featured AS featured_9, a0_.main_view AS main_view_10, a0_.clicks AS clicks_11, a0_.reviewed_at AS reviewed_at_12, a0_.metakey AS metakey_13, a0_.metadesc AS metadesc_14, a0_.robots AS robots_15, a0_.published_at AS published_at_16, a0_.canonical AS canonical_17, a0_.super_tag AS super_tag_18, a0_.user_id AS user_id_19, a0_.category_id AS category_id_20, a0_.image_card_id AS image_card_id_21, a0_.image_header_id AS image_header_id_22 FROM article a0_ WHERE a0_.category_id = ? AND a0_.featured = 1 AND a0_.published_at <= ? AND a0_.status = ? ORDER BY a0_.clicks DESC LIMIT 5
Parameters:
[
  118
  "2025-01-15 01:24:44"
  "published"
]
3.83 ms
(3.22%)
9
SELECT t0.id AS id_1, t0.original_url AS original_url_2, t0.redirection_url AS redirection_url_3, t0.status AS status_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.deleted_at AS deleted_at_7 FROM redirection t0 WHERE t0.original_url = ? AND t0.status = ? ORDER BY t0.updated_at DESC LIMIT 1
Parameters:
[
  "https://rct.dev.bbntimes.com/science"
  "published"
]
2.89 ms
(2.43%)
10
SELECT t0.id AS id_1, t0.description AS description_2, t0.url AS url_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM FILE t0 WHERE t0.id = ?
Parameters:
[
  90861
]
1.71 ms
(1.44%)
9
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.value AS value_2, s0_.type AS type_3 FROM setting s0_ WHERE s0_.name = ? AND s0_.type = ?
Parameters:
[
  "facebook"
  "general"
]
1.67 ms
(1.40%)
6
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.email AS email_7, t0.name AS name_8, t0.require_reset AS require_reset_9, t0.description AS description_10, t0.is_active AS is_active_11, t0.disabled_scroll AS disabled_scroll_12, t0.networks AS networks_13, t0.slug AS slug_14, t0.job_title AS job_title_15, t0.last_login AS last_login_16, t0.ordering AS ordering_17, t0.canonical AS canonical_18, t0.image_profile_id AS image_profile_id_19 FROM user t0 WHERE t0.id = ?
Parameters:
[
  713
]
0.90 ms
(0.76%)
2
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.created_at AS created_at_3, c0_.updated_at AS updated_at_4, c0_.deleted_at AS deleted_at_5, c0_.status AS status_6, c0_.description AS description_7, c0_.main_view AS main_view_8, c0_.theme AS theme_9, c0_.orders AS orders_10, c0_.metakey AS metakey_11, c0_.metadesc AS metadesc_12, c0_.canonical AS canonical_13 FROM category c0_ WHERE c0_.status = ? ORDER BY c0_.orders ASC
Parameters:
[
  "published"
]
0.89 ms
(0.75%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.email AS email_7, t0.name AS name_8, t0.require_reset AS require_reset_9, t0.description AS description_10, t0.is_active AS is_active_11, t0.disabled_scroll AS disabled_scroll_12, t0.networks AS networks_13, t0.slug AS slug_14, t0.job_title AS job_title_15, t0.last_login AS last_login_16, t0.ordering AS ordering_17, t0.canonical AS canonical_18, t0.image_profile_id AS image_profile_id_19 FROM user t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "science"
]
0.64 ms
(0.54%)
2
SELECT p0_.title AS title_0, p0_.slug AS slug_1 FROM PAGE p0_ WHERE p0_.status = ? ORDER BY p0_.orders ASC
Parameters:
[
  "published"
]
0.31 ms
(0.26%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.status AS status_7, t0.description AS description_8, t0.main_view AS main_view_9, t0.theme AS theme_10, t0.orders AS orders_11, t0.metakey AS metakey_12, t0.metadesc AS metadesc_13, t0.canonical AS canonical_14 FROM category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "science"
]
0.23 ms
(0.20%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.status AS status_7, t0.description AS description_8, t0.main_view AS main_view_9, t0.theme AS theme_10, t0.orders AS orders_11, t0.metakey AS metakey_12, t0.metadesc AS metadesc_13, t0.canonical AS canonical_14 FROM category t0 WHERE t0.name = ?
Parameters:
[
  "Science"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

0 Hits
0 Misses
0 Puts

Entities Mapping

Class Mapping errors
App\Entity\Redirection No errors.
App\Entity\User
  • The association App\Entity\User#files refers to the owning side field App\Entity\File#user which does not exist.
App\Entity\File No errors.
App\Entity\Category No errors.
App\Entity\Article No errors.
App\Entity\Comment No errors.
App\Entity\Page
  • The association App\Entity\Page#image refers to the inverse side field App\Entity\File#pages which does not exist.
App\Entity\Setting No errors.