https://dev.fluid.vet/article/2/1

Query Metrics

22 Database Queries
13 Different statements
53.50 ms Query time
2 Invalid entities
  • Queries
  • Database Connections
  • Entity Managers
  • Second Level Cache
  • Entities Mapping

Group similar statements

default connection

# Time Info
1 14.21 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.icon AS icon_4, t0.article_count AS article_count_5, t0.modified AS modified_6, t0.created AS created_7, t0.is_multi AS is_multi_8, t0.page_id AS page_id_9 FROM articles t0 WHERE t0.id = ?
Parameters:
0 of 0
[ "1" ]
2 6.37 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.copy AS copy_4, t0.modified AS modified_5, t0.created AS created_6, t0.user_id AS user_id_7, t0.article_id AS article_id_8 FROM article_details t0 WHERE t0.article_id = ?
Parameters:
0 of 0
[ 1 ]
3 5.80 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.modified AS modified_7, t0.created AS created_8, t0.hashed_email AS hashed_email_9 FROM user t0 WHERE t0.id = ?
Parameters:
0 of 0
[ 1 ]
4 0.55 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.modified AS modified_7, t0.created AS created_8, t0.hashed_email AS hashed_email_9 FROM user t0 WHERE t0.id = ?
Parameters:
0 of 0
[ 2 ]
5 0.51 ms
SET GLOBAL sql_mode='';
Parameters:
[]
6 2.12 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.description AS description_2, a0_.copy AS copy_3, a0_.modified AS modified_4, a0_.created AS created_5, a0_.user_id AS user_id_6, a0_.article_id AS article_id_7 FROM article_details a0_ WHERE a0_.article_id = ? GROUP BY a0_.user_id ORDER BY a0_.id ASC
Parameters:
0 of 0
[ 1 ]
7 0.64 ms
SELECT DATABASE()
Parameters:
[]
8 4.67 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
0 of 0
[ "fluid_dev" ]
9 0.42 ms
SELECT DATABASE()
Parameters:
[]
10 2.02 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
0 of 0
[ "fluid_dev" ]
11 0.38 ms
SELECT DATABASE()
Parameters:
[]
12 2.35 ms
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
            ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
0 of 0
[ "fluid_dev" "doctrine_migration_versions" ]
13 0.34 ms
SELECT DATABASE()
Parameters:
[]
14 4.35 ms
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'fluid_dev' */ ORDER BY k.ORDINAL_POSITION
Parameters:
0 of 0
[ "fluid_dev" "doctrine_migration_versions" ]
15 3.81 ms
SELECT       c.COLUMN_NAME        AS field,
       c.COLUMN_TYPE       AS TYPE,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS COMMENT,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS COLLATION
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
0 of 0
[ "fluid_dev" "fluid_dev" "doctrine_migration_versions" ]
16 0.41 ms
SELECT DATABASE()
Parameters:
[]
17 1.56 ms
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
0 of 0
[ "fluid_dev" "doctrine_migration_versions" ]
18 0.65 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
19 0.29 ms
SELECT DATABASE()
Parameters:
[]
20 0.71 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.description AS description_2, a0_.copy AS copy_3, a0_.modified AS modified_4, a0_.created AS created_5, a0_.user_id AS user_id_6, a0_.article_id AS article_id_7 FROM article_details a0_ WHERE a0_.id = ? ORDER BY a0_.modified DESC LIMIT 1
Parameters:
0 of 0
[ 1 ]
21 0.69 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.description AS description_2, a0_.copy AS copy_3, a0_.modified AS modified_4, a0_.created AS created_5, a0_.user_id AS user_id_6, a0_.article_id AS article_id_7 FROM article_details a0_ WHERE a0_.id = ? ORDER BY a0_.modified DESC LIMIT 1
Parameters:
0 of 0
[ 2 ]
22 0.66 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.description AS description_2, a0_.copy AS copy_3, a0_.modified AS modified_4, a0_.created AS created_5, a0_.user_id AS user_id_6, a0_.article_id AS article_id_7 FROM article_details a0_ WHERE a0_.id = ? ORDER BY a0_.modified DESC LIMIT 1
Parameters:
0 of 0
[ 9 ]