https://zebunet.studiolab.fr/projet/172

Query Metrics

18 Database Queries
12 Different statements
11.94 ms Query time
1 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.53 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_active AS is_active_3, t0.subscription_count AS subscription_count_4, t0.comment AS comment_5, t0.description AS description_6, t0.cover AS cover_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.status_id AS status_id_10, t0.country_id AS country_id_11, t0.plan_type_id AS plan_type_id_12, t0.partner_id AS partner_id_13 FROM project t0 WHERE t0.id = ?
Parameters:
[
  "172"
]
2 0.32 ms
SELECT DATABASE()
Parameters:
[]
3 0.82 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "zebunet"
]
4 0.16 ms
SELECT DATABASE()
Parameters:
[]
5 0.68 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "zebunet"
]
6 0.18 ms
SELECT DATABASE()
Parameters:
[]
7 1.04 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:
[
  "zebunet"
  "doctrine_migration_versions"
]
8 0.60 ms
SELECT DATABASE()
Parameters:
[]
9 2.09 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 = 'zebunet' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "zebunet"
  "doctrine_migration_versions"
]
10 2.07 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:
[
  "zebunet"
  "zebunet"
  "doctrine_migration_versions"
]
11 0.37 ms
SELECT DATABASE()
Parameters:
[]
12 0.57 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:
[
  "zebunet"
  "doctrine_migration_versions"
]
13 0.39 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
14 0.51 ms
SELECT DATABASE()
Parameters:
[]
15 0.48 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.currency AS currency_4, t0.is_active AS is_active_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM country t0 WHERE t0.id = ?
Parameters:
[
  85
]
16 0.31 ms
SELECT t0.id AS id_1, t0.label AS label_2, t0.acronyms AS acronyms_3, t0.duration AS duration_4, t0.amount AS amount_5, t0.local_amount AS local_amount_6, t0.is_active AS is_active_7, t0.gift_card AS gift_card_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.loan_type_id AS loan_type_id_11, t0.country_id AS country_id_12 FROM plan_type t0 WHERE t0.id = ?
Parameters:
[
  3
]
17 0.47 ms
SELECT t0.id AS id_1, t0.label AS label_2, t0.certificate AS certificate_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM loan_type t0 WHERE t0.id = ?
Parameters:
[
  2
]
18 0.34 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.amount AS amount_3, t0.local_amount AS local_amount_4, t0.comment AS comment_5, t0.subscribed_at AS subscribed_at_6, t0.closed_at AS closed_at_7, t0.owner_type AS owner_type_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.reinvestment_plan_id AS reinvestment_plan_id_11, t0.owner_id AS owner_id_12, t0.beneficiary_id AS beneficiary_id_13, t0.type_id AS type_id_14, t0.project_id AS project_id_15, t0.status_id AS status_id_16, t0.payment_id AS payment_id_17, t0.loan_id AS loan_id_18 FROM plan t0 WHERE t0.project_id = ?
Parameters:
[
  172
]

Database Connections

Name Service
default doctrine.dbal.default_connection
wordpress doctrine.dbal.wordpress_connection
legacy doctrine.dbal.legacy_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
wordpress doctrine.orm.wordpress_entity_manager
legacy doctrine.orm.legacy_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
App\Entity\Project No errors.
App\Entity\ProjectStatus No errors.
App\Entity\Country No errors.
App\Entity\PlanType No errors.
App\Entity\Partner No errors.
App\Entity\Plan
  • The association App\Entity\Plan#gifts refers to the owning side field App\Entity\Plan#plan which does not exist.
  • The association App\Entity\Plan#reinvestmentPlans refers to the owning side field App\Entity\Gift#reinvestmentPlan which does not exist.
App\Entity\Peasant No errors.
App\Entity\Loan No errors.
App\Entity\Newsletter No errors.
App\Entity\User No errors.
App\Entity\Village No errors.
App\Entity\LoanType No errors.
App\Entity\PlanStatus No errors.
App\Entity\Payment No errors.
App\Entity\Gift No errors.
App\Entity\AnimalStatus No errors.
App\Entity\LoanStatus No errors.

wordpress entity manager

No loaded entities.

legacy entity manager

No loaded entities.