GET https://crimpy.in/tag/bjp

Query Metrics

23 Database Queries
12 Different statements
8.62 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
3.25 ms
(37.75%)
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
]
1.45 ms
(16.88%)
6
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
]
1.35 ms
(15.71%)
6
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.50 ms
(5.80%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (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 FROM story s0_ WHERE ((s0_.title LIKE ? AND s0_.tags LIKE ? AND s0_.body LIKE ?) OR s0_.title LIKE ? OR s0_.tags LIKE ? OR s0_.body LIKE ?) AND s0_.is_approved = 1) dctrn_result) dctrn_table
Parameters:
[
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
]
0.39 ms
(4.51%)
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_.title LIKE ? AND s0_.tags LIKE ? AND s0_.body LIKE ?) OR s0_.title LIKE ? OR s0_.tags LIKE ? OR s0_.body LIKE ?) AND s0_.is_approved = 1 AND s0_.id IN (?, ?)
Parameters:
[
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  22
  23
]
0.34 ms
(3.90%)
1
SELECT DISTINCT id_0 FROM (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 FROM story s0_ WHERE ((s0_.title LIKE ? AND s0_.tags LIKE ? AND s0_.body LIKE ?) OR s0_.title LIKE ? OR s0_.tags LIKE ? OR s0_.body LIKE ?) AND s0_.is_approved = 1) dctrn_result LIMIT 10
Parameters:
[
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
  "%bjp%"
]
0.28 ms
(3.20%)
1
SELECT * FROM category  LIMIT 0,7
Parameters:
[]
0.28 ms
(3.20%)
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.22 ms
(2.54%)
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.21 ms
(2.39%)
1
SELECT * FROM category LIMIT 5,100
Parameters:
[]
0.19 ms
(2.23%)
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.name = ? LIMIT 1
Parameters:
[
  "Most Popular"
]
0.16 ms
(1.89%)
1
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\Tag No errors.