Query Metrics
50
Database Queries
21
Different statements
14.40 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
4.49 ms (31.16%) |
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:
[
24
]
|
3.25 ms (22.61%) |
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:
[
24
]
|
0.74 ms (5.16%) |
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.65 ms (4.53%) |
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:
[
"amit-shah-claims-congress-wants-separate-law-for-minorities"
]
|
0.62 ms (4.32%) |
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.59 ms (4.09%) |
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.51 ms (3.54%) |
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.33 ms (2.31%) |
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:
[ 24 0 ] |
0.28 ms (1.96%) |
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:
[ 24 1 ] |
0.28 ms (1.95%) |
1 |
UPDATE story SET hits = ? WHERE id = ?
Parameters:
[ 969 24 ] |
0.28 ms (1.95%) |
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:
[
24
]
|
0.28 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:
[
24
]
|
0.27 ms (1.90%) |
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:
[
24
]
|
0.27 ms (1.87%) |
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:
[
24
]
|
0.26 ms (1.78%) |
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.25 ms (1.72%) |
1 |
SELECT * FROM category LIMIT 0,7
Parameters:
[] |
0.24 ms (1.69%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM tag t0
Parameters:
[] |
0.24 ms (1.67%) |
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.24 ms (1.65%) |
1 |
SELECT * FROM category LIMIT 5,100
Parameters:
[] |
0.19 ms (1.29%) |
1 |
"COMMIT"
Parameters:
[] |
0.13 ms (0.90%) |
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. |