GET http://knowledgebeans-api.sooma.jp/v1/kb/interview/engineer-to-hr-career-path-it-recruitment-expert-interview

Query Metrics

8 Database Queries
8 Different statements
18.61 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
4.95 ms
(26.59%)
1
SELECT *
                FROM post as p
                WHERE p.status = 2 
                  AND DATE_FORMAT(publish_at, '%Y-%m-%d') <= DATE_FORMAT(now(), '%Y-%m-%d')
                  AND DATE_FORMAT(expire_at, '%Y-%m-%d') >= DATE_FORMAT(now(), '%Y-%m-%d') AND p.slug = :slug AND p.kind = :kind ORDER BY p.id DESC
Parameters:
[
  "slug" => "engineer-to-hr-career-path-it-recruitment-expert-interview"
  "kind" => 11
]
3.23 ms
(17.36%)
1
SELECT t0.id AS id_1, t0.created_by AS created_by_2, t0.last_updated_by AS last_updated_by_3, t0.slug AS slug_4, t0.status AS status_5, t0.note AS note_6, t0.kind AS kind_7, t0.publish_at AS publish_at_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.expire_at AS expire_at_11, t12.id AS id_13, t12.attr1 AS attr1_14, t12.attr2 AS attr2_15, t12.attr3 AS attr3_16, t12.attr4 AS attr4_17, t12.attr5 AS attr5_18, t12.attr6 AS attr6_19, t12.attr7 AS attr7_20, t12.attr8 AS attr8_21, t12.attr9 AS attr9_22, t12.attr10 AS attr10_23, t12.post_id AS post_id_24 FROM post t0 LEFT JOIN post_detail t12 ON t12.post_id = t0.id WHERE t0.id = ?
Parameters:
[
  12
]
3.22 ms
(17.31%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.excerpt AS excerpt_3, t0.body AS body_4, t0.position AS position_5, t0.attribute1 AS attribute1_6, t0.status AS status_7, t0.locale_id AS locale_id_8, t0.post_id AS post_id_9 FROM post_content t0 WHERE t0.post_id = ?
Parameters:
[
  12
]
1.92 ms
(10.34%)
1
SELECT t0.id AS id_1, t0.locale AS locale_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM `m_locale` t0 WHERE t0.id = ?
Parameters:
[
  1
]
1.91 ms
(10.26%)
1
SELECT t0.id AS id_1, t0.position AS position_2, t0.category_id AS category_id_3, t0.post_id AS post_id_4 FROM post_to_category t0 WHERE t0.post_id = ?
Parameters:
[
  12
]
1.56 ms
(8.38%)
1
SELECT CONCAT('https://knowledgebeans-api.sooma.jp/uploads/post/',pci.file_name) as image_url
              FROM post_content_images as pci
              LEFT JOIN m_image_type as mit ON pci.type_id = mit.id
              WHERE pci.content_id = :content_id AND mit.type_name = :imageType 
              ORDER BY pci.position, pci.id
Parameters:
[
  "content_id" => 10
  "imageType" => "main-image"
]
1.29 ms
(6.95%)
1
SELECT t0.id AS id_1, t0.lft AS lft_2, t0.rgt AS rgt_3, t0.slug AS slug_4, t0.color_code AS color_code_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM category t0 WHERE t0.id = ?
Parameters:
[
  17
]
0.52 ms
(2.82%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.category_id AS category_id_3, t0.locale_id AS locale_id_4 FROM category_name t0 WHERE t0.category_id = ?
Parameters:
[
  17
]

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\Post No errors.
App\Entity\PostDetail No errors.
App\Entity\PostContent No errors.
App\Entity\PostToTags No errors.
App\Entity\PostContentImages No errors.
App\Entity\MLocale No errors.
App\Entity\PostToCategory No errors.
App\Entity\Category No errors.
App\Entity\CategoryName No errors.
App\Entity\CategoryMeta No errors.
App\Entity\Tags No errors.