Query Metrics
50
Database Queries
24
Different statements
15.49 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
2.19 ms (14.15%) |
9 |
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:
[
26
]
|
2.03 ms (13.09%) |
9 |
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:
[
26
]
|
1.97 ms (12.70%) |
8 |
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:
[
"Most Popular"
]
|
1.09 ms (7.07%) |
1 |
SELECT * FROM story inner join category on category.id = story.category_id WHERE created_on> now() - interval 7 day AND is_approved = true ORDER BY RAND() LIMIT 4
Parameters:
[] |
1.07 ms (6.89%) |
1 |
SELECT story.id as id,story.title as title,story.description as description, category.name as category,user.name as user,story.slug as slug,story.body as body,story.hits FROM story inner join category on category.id = story.category_id inner join user on user.id = story.user_id WHERE created_on> now() - interval 7 day AND is_approved = true Group By story.id LIMIT 2
Parameters:
[] |
0.96 ms (6.17%) |
1 |
SELECT story.id,story.title,story.description as description,story.hits,story.created_on as created_on,story.body,story.slug,category.id as categoryId,category.name as categoryName,category.slug as categorySLug FROM story inner join category on category.id = story.category_id WHERE is_approved = true AND story.category_id = '3' ORDER BY RAND() LIMIT 3
Parameters:
[] |
0.91 ms (5.86%) |
1 |
SELECT story.id,story.title,story.hits,story.description as description,story.created_on as created_on,story.body,story.slug,category.id as categoryId,category.name as categoryName,category.slug as categorySLug FROM story inner join category on category.id = story.category_id WHERE is_approved = true AND story.category_id = '4' ORDER BY RAND()LIMIT 3
Parameters:
[] |
0.54 ms (3.48%) |
2 |
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.category_id = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[
3
]
|
0.51 ms (3.27%) |
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.43 ms (2.75%) |
2 |
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.category_id IS NULL ORDER BY t0.id DESC LIMIT 1
Parameters:
[] |
0.41 ms (2.67%) |
1 |
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_.is_approved = 1 AND s0_.category_id = '6' ORDER BY s0_.hits DESC LIMIT 7
Parameters:
[] |
0.31 ms (2.02%) |
1 |
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_.is_approved = 1 AND s0_.category_id = '5' ORDER BY s0_.hits DESC LIMIT 4
Parameters:
[] |
0.31 ms (2.02%) |
1 |
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 = ? GROUP BY s0_.id LIMIT 5
Parameters:
[
2
]
|
0.30 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 = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[
1
]
|
0.29 ms (1.87%) |
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
Parameters:
[] |
0.29 ms (1.87%) |
1 |
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_.is_approved = 1 ORDER BY s0_.hits DESC LIMIT 5
Parameters:
[] |
0.28 ms (1.81%) |
1 |
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.25 ms (1.62%) |
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 = ?
Parameters:
[
26
]
|
0.25 ms (1.59%) |
1 |
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.24 ms (1.55%) |
1 |
SELECT t0.id AS id_1, t0.file_data AS file_data_2, t0.file_type AS file_type_3, t0.file_name AS file_name_4, t0.story_id AS story_id_5 FROM slider t0
Parameters:
[] |
0.24 ms (1.55%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2 FROM tag t0
Parameters:
[] |
0.23 ms (1.51%) |
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.20 ms (1.29%) |
1 |
SELECT * FROM category LIMIT 0,7
Parameters:
[] |
0.19 ms (1.25%) |
1 |
SELECT * FROM category LIMIT 5,100
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\Category | No errors. |
App\Entity\Story | 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\Tag | No errors. |