Query Metrics
51
Database Queries
22
Different statements
9.65 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
2.46 ms (25.49%) |
13 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.body AS body_3, t0.created_on AS created_on_4, t0.insta AS insta_5, t0.twitter AS twitter_6, t0.tags AS tags_7, t0.hits AS hits_8, t0.status AS status_9, t0.is_approved AS is_approved_10, t0.is_saved AS is_saved_11, t0.instagram_title AS instagram_title_12, t0.slug AS slug_13, t0.description AS description_14, t0.publish_date AS publish_date_15, t0.code AS code_16, t0.category_id AS category_id_17, t0.user_id AS user_id_18 FROM story t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
22
]
|
2.33 ms (24.10%) |
13 |
SELECT t0.id AS id_1, t0.file_data AS file_data_2, t0.file_name AS file_name_3, t0.file_type AS file_type_4, t0.is_primary AS is_primary_5, t0.story_id AS story_id_6 FROM story_images t0 WHERE t0.story_id = ? LIMIT 1
Parameters:
[
22
]
|
0.51 ms (5.32%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_top AS is_top_3, t0.slug AS slug_4 FROM category t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
"Article"
]
|
0.42 ms (4.36%) |
2 |
SELECT s0_.id AS id_0, s0_.title AS title_1, s0_.body AS body_2, s0_.created_on AS created_on_3, s0_.insta AS insta_4, s0_.twitter AS twitter_5, s0_.tags AS tags_6, s0_.hits AS hits_7, s0_.status AS status_8, s0_.is_approved AS is_approved_9, s0_.is_saved AS is_saved_10, s0_.instagram_title AS instagram_title_11, s0_.slug AS slug_12, s0_.description AS description_13, s0_.publish_date AS publish_date_14, s0_.code AS code_15, s0_.category_id AS category_id_16, s0_.user_id AS user_id_17 FROM story s0_ WHERE s0_.category_id = ? ORDER BY s0_.id DESC LIMIT 4
Parameters:
[
6
]
|
0.42 ms (4.35%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.body AS body_3, t0.created_on AS created_on_4, t0.insta AS insta_5, t0.twitter AS twitter_6, t0.tags AS tags_7, t0.hits AS hits_8, t0.status AS status_9, t0.is_approved AS is_approved_10, t0.is_saved AS is_saved_11, t0.instagram_title AS instagram_title_12, t0.slug AS slug_13, t0.description AS description_14, t0.publish_date AS publish_date_15, t0.code AS code_16, t0.category_id AS category_id_17, t0.user_id AS user_id_18 FROM story t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"eci-sents-notice-to-bjp-and-congress"
]
|
0.40 ms (4.15%) |
2 |
SELECT s0_.id AS id_0, s0_.title AS title_1, s0_.body AS body_2, s0_.created_on AS created_on_3, s0_.insta AS insta_4, s0_.twitter AS twitter_5, s0_.tags AS tags_6, s0_.hits AS hits_7, s0_.status AS status_8, s0_.is_approved AS is_approved_9, s0_.is_saved AS is_saved_10, s0_.instagram_title AS instagram_title_11, s0_.slug AS slug_12, s0_.description AS description_13, s0_.publish_date AS publish_date_14, s0_.code AS code_15, s0_.category_id AS category_id_16, s0_.user_id AS user_id_17 FROM story s0_ ORDER BY s0_.id DESC LIMIT 4
Parameters:
[] |
0.35 ms (3.63%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_top AS is_top_3, t0.slug AS slug_4 FROM category t0 WHERE t0.is_top = ?
Parameters:
[
1
]
|
0.27 ms (2.76%) |
1 |
SELECT t0.id AS id_1, t0.file_data AS file_data_2, t0.file_name AS file_name_3, t0.file_type AS file_type_4, t0.is_primary AS is_primary_5, t0.story_id AS story_id_6 FROM story_images t0 WHERE t0.story_id = ? AND t0.is_primary = ?
Parameters:
[ 22 0 ] |
0.24 ms (2.49%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_top AS is_top_3, t0.slug AS slug_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
1
]
|
0.21 ms (2.18%) |
1 |
SELECT t0.id AS id_1, t0.message AS message_2, t0.is_approve AS is_approve_3, t0.created_on AS created_on_4, t0.user_id AS user_id_5, t0.story_id AS story_id_6 FROM comment t0 WHERE t0.story_id = ? AND t0.is_approve = ?
Parameters:
[ 22 1 ] |
0.21 ms (2.16%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.file_data AS file_data_3, t0.file_type AS file_type_4, t0.file_name AS file_name_5 FROM news_channel t0 WHERE t0.id = ?
Parameters:
[
51
]
|
0.21 ms (2.12%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.rank AS rank_4, t0.description AS description_5, t0.story_id AS story_id_6, t0.user_id AS user_id_7 FROM twitter t0 WHERE t0.story_id = ?
Parameters:
[
22
]
|
0.19 ms (1.98%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.published_on AS published_on_3, t0.website AS website_4, t0.story_id AS story_id_5, t0.name_id AS name_id_6 FROM channel_refference t0 WHERE t0.story_id = ?
Parameters:
[
22
]
|
0.19 ms (1.97%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.body AS body_3, t0.created_on AS created_on_4, t0.insta AS insta_5, t0.twitter AS twitter_6, t0.tags AS tags_7, t0.hits AS hits_8, t0.status AS status_9, t0.is_approved AS is_approved_10, t0.is_saved AS is_saved_11, t0.instagram_title AS instagram_title_12, t0.slug AS slug_13, t0.description AS description_14, t0.publish_date AS publish_date_15, t0.code AS code_16, t0.category_id AS category_id_17, t0.user_id AS user_id_18 FROM story t0 WHERE t0.is_approved = ? AND t0.category_id IS NULL ORDER BY t0.id DESC LIMIT 7
Parameters:
[
1
]
|
0.19 ms (1.95%) |
1 |
UPDATE story SET hits = ? WHERE id = ?
Parameters:
[ 1612 22 ] |
0.19 ms (1.94%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.rank AS rank_4, t0.description AS description_5, t0.story_id AS story_id_6, t0.user_id AS user_id_7 FROM youtube t0 WHERE t0.story_id = ?
Parameters:
[
22
]
|
0.18 ms (1.88%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.rank AS rank_4, t0.description AS description_5, t0.story_id AS story_id_6 FROM facebook_watch t0 WHERE t0.story_id = ?
Parameters:
[
22
]
|
0.18 ms (1.87%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM tag t0
Parameters:
[] |
0.17 ms (1.73%) |
1 |
SELECT * FROM category LIMIT 0,7
Parameters:
[] |
0.15 ms (1.58%) |
1 |
SELECT * FROM category LIMIT 5,100
Parameters:
[] |
0.11 ms (1.15%) |
1 |
"COMMIT"
Parameters:
[] |
0.08 ms (0.86%) |
1 |
"START TRANSACTION"
Parameters:
[] |
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\Story | No errors. |
App\Entity\Category | No errors. |
App\Entity\User |
|
App\Entity\Comment | No errors. |
App\Entity\ChannelRefference | No errors. |
App\Entity\Youtube | No errors. |
App\Entity\FacebookWatch | No errors. |
App\Entity\Twitter | No errors. |
App\Entity\StoryImages | No errors. |
App\Entity\Slider | No errors. |
App\Entity\NewsChannel | No errors. |
App\Entity\Tag | No errors. |