GET https://trabna.ma/faq

Query Metrics

6 Database Queries
6 Different statements
3.19 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 1.08 ms
SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.body AS body_2 FROM rv_web_faq r0_
Parameters:
[]
2 0.21 ms
SELECT COUNT(DISTINCT r0_.id) AS sclr_0 FROM rv_web_faq r0_
Parameters:
[]
3 0.14 ms
SELECT DISTINCT r0_.id AS id_0 FROM rv_web_faq r0_ LIMIT 10
Parameters:
[]
4 0.21 ms
SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.body AS body_2 FROM rv_web_faq r0_ WHERE r0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
]
5 0.40 ms
SELECT r0_.id AS id_0, r0_.url AS url_1, r0_.date_ AS date__2, r0_.img AS img_3, r0_.viewed AS viewed_4, r0_.title AS title_5, r0_.subject AS subject_6, r0_.tags AS tags_7 FROM rv_web_blog r0_ WHERE r0_.published = 1 ORDER BY r0_.date_ DESC LIMIT 6
Parameters:
[]
6 1.14 ms
SELECT tags ,COUNT(*) cnt FROM (SELECT id,SUBSTRING_INDEX(SUBSTRING_INDEX(tags, ',', n.digit+1), ',', -1) tags 
            FROM rv_web_blog INNER JOIN (SELECT 0 digit UNION ALL SELECT 1 UNION ALL SELECT 2 UNION
             ALL SELECT 3 UNION ALL SELECT 4  UNION ALL SELECT 5  UNION ALL SELECT 6  ) n ON
              LENGTH(REPLACE(tags, ',' , '')) <= LENGTH(tags)-n.digit WHERE 
               SUBSTRING_INDEX(SUBSTRING_INDEX(tags, ',', n.digit+1), ',', -1)<>'' AND published=1 
            ORDER BY id, n.digit) h GROUP BY TRIM( tags) ORDER BY cnt DESC LIMIT 0,6
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\RvFaq No errors.
App\Entity\RvBlog No errors.