GET https://www.crimpy.in/story/show/test0425

Query Metrics

50 Database Queries
21 Different statements
12.10 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 0.48 ms
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:
[
  "test0425"
]
2 0.49 ms
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:
[
  26
  0
]
3 0.30 ms
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:
[
  26
]
4 0.27 ms
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:
[
  26
]
5 0.28 ms
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:
[
  26
]
6 0.11 ms
"START TRANSACTION"
Parameters:
[]
7 0.24 ms
UPDATE story SET hits = ? WHERE id = ?
Parameters:
[
  23
  26
]
8 0.13 ms
"COMMIT"
Parameters:
[]
9 0.25 ms
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"
]
10 0.21 ms
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
]
11 0.27 ms
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:
[
  26
]
12 0.27 ms
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:
[
  26
  1
]
13 0.31 ms
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
]
14 0.22 ms
SELECT * FROM category  LIMIT 0,7
Parameters:
[]
15 0.21 ms
SELECT * FROM category LIMIT 5,100
Parameters:
[]
16 0.26 ms
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
]
17 0.22 ms
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
]
18 0.43 ms
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:
[]
19 0.32 ms
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
]
20 0.30 ms
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
]
21 0.25 ms
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
]
22 0.25 ms
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
]
23 0.22 ms
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
]
24 0.25 ms
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
]
25 0.21 ms
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
]
26 0.24 ms
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
]
27 0.20 ms
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
]
28 0.23 ms
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
]
29 0.23 ms
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
]
30 0.25 ms
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
]
31 0.19 ms
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
]
32 0.21 ms
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
]
33 0.19 ms
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
]
34 0.20 ms
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
]
35 0.19 ms
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
]
36 0.21 ms
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"
]
37 0.28 ms
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
]
38 0.22 ms
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:
[]
39 0.23 ms
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
]
40 0.19 ms
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
]
41 0.20 ms
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:
[
  25
]
42 0.19 ms
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:
[
  25
]
43 0.21 ms
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
]
44 0.20 ms
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
]
45 0.23 ms
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:
[
  23
]
46 0.20 ms
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:
[
  23
]
47 0.18 ms
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"
]
48 0.22 ms
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
]
49 0.21 ms
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:
[
  0
]
50 0.23 ms
SELECT t0.id AS id_1, t0.name AS name_2 FROM tag t0
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
  • The association App\Entity\User#facebookWatches refers to the owning side field App\Entity\FacebookWatch#user which does not exist.
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.