https://staging.bwire.io/payment/capture/yVb5PQwn02kZEB-0JG0S0mJiQBHevxJuCaEH5Z_TjcI

Query Metrics

20 Database Queries
14 Different statements
34.69 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
5.57 ms
(16.06%)
1
SELECT            a.attnum,
            quote_ident(a.attname) AS field,
            t.typname AS type,
            format_type(a.atttypid, a.atttypmod) AS complete_type,
            (SELECT tc.collcollate FROM pg_catalog.pg_collation tc WHERE tc.oid = a.attcollation) AS collation,
            (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
            (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM
              pg_catalog.pg_type t2 WHERE t2.typtype = 'd' AND t2.oid = a.atttypid) AS domain_complete_type,
            a.attnotnull AS isnotnull,
            (SELECT 't'
             FROM pg_index
             WHERE c.oid = pg_index.indrelid
                AND pg_index.indkey[0] = a.attnum
                AND pg_index.indisprimary = 't'
            ) AS pri,
            (SELECT pg_get_expr(adbin, adrelid)
             FROM pg_attrdef
             WHERE c.oid = pg_attrdef.adrelid
                AND pg_attrdef.adnum=a.attnum
            ) AS default,
            (SELECT pg_description.description
                FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
            ) AS comment
            FROM pg_attribute a
                INNER JOIN pg_class c
                    ON c.oid = a.attrelid
                INNER JOIN pg_type t
                    ON t.oid = a.atttypid
                INNER JOIN pg_namespace n
                    ON n.oid = c.relnamespace
                LEFT JOIN pg_depend d
                    ON d.objid = c.oid
                        AND d.deptype = 'e' WHERE a.attnum > 0 AND c.relkind = 'r' AND d.refobjid IS NULL AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast') ORDER BY a.attnum
Parameters:
[]
5.56 ms
(16.02%)
2
SELECT quote_ident(table_name) AS table_name,
       table_schema AS schema_name
FROM information_schema.tables
WHERE table_catalog = ?
  AND table_schema NOT LIKE 'pg\_%'
  AND table_schema != 'information_schema'
  AND table_name != 'geometry_columns'
  AND table_name != 'spatial_ref_sys'
  AND table_type = 'BASE TABLE'
Parameters:
[
  "bwire_staging"
]
3.95 ms
(11.39%)
6
SELECT CURRENT_DATABASE()
Parameters:
[]
3.90 ms
(11.24%)
1
SELECT t0.hash AS hash_1, t0.details AS details_2, t0.after_url AS after_url_3, t0.target_url AS target_url_4, t0.gateway_name AS gateway_name_5 FROM payment_tokens t0 WHERE t0.hash = ?
Parameters:
[
  "yVb5PQwn02kZEB-0JG0S0mJiQBHevxJuCaEH5Z_TjcI"
]
2.86 ms
(8.23%)
1
SELECT                   quote_ident(ic.relname) AS relname,
                   i.indisunique,
                   i.indisprimary,
                   i.indkey,
                   i.indrelid,
                   pg_get_expr(indpred, indrelid) AS "where"
              FROM pg_index i
                   JOIN pg_class AS tc ON tc.oid = i.indrelid
                   JOIN pg_namespace tn ON tn.oid = tc.relnamespace
                   JOIN pg_class AS ic ON ic.oid = i.indexrelid
             WHERE ic.oid IN (
                SELECT indexrelid
                FROM pg_index i, pg_class c, pg_namespace n WHERE c.oid = i.indrelid AND c.relnamespace = n.oid AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast'))
Parameters:
[]
2.62 ms
(7.55%)
1
SELECT p0_.id AS id_0, p0_.external_id AS external_id_1, p0_.description AS description_2, p0_.amount AS amount_3, p0_.currency AS currency_4, p0_.success_url AS success_url_5, p0_.failure_url AS failure_url_6, p0_.pending_url AS pending_url_7, p0_.notification_url AS notification_url_8, p0_.customer_id AS customer_id_9, p0_.details AS details_10, p0_.status AS status_11, p0_.pisp_status AS pisp_status_12, p0_.bank_status AS bank_status_13, p0_.mapping_id AS mapping_id_14, p0_.created_at AS created_at_15, p0_.updated_at AS updated_at_16, p0_.site_id AS site_id_17 FROM payments p0_ WHERE p0_.id = ?
Parameters:
[
  Symfony\Component\Uid\UuidV4 {#1305
    __toString(): "42fea0ac-f660-47c1-87fd-4e62e3441c51"
  }
]
2.04 ms
(5.87%)
1
SELECT                  quote_ident(r.conname) as conname,
                  pg_get_constraintdef(r.oid, true) as condef
                  FROM pg_constraint r
                      JOIN pg_class AS tc ON tc.oid = r.conrelid
                      JOIN pg_namespace tn ON tn.oid = tc.relnamespace
                  WHERE r.conrelid IN
                  (
                      SELECT c.oid
                      FROM pg_class c, pg_namespace n WHERE n.oid = c.relnamespace AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')) AND r.contype = 'f'
Parameters:
[]
1.97 ms
(5.69%)
1
SELECT t0.id AS id_1, t0.external_id AS external_id_2, t0.description AS description_3, t0.amount AS amount_4, t0.currency AS currency_5, t0.success_url AS success_url_6, t0.failure_url AS failure_url_7, t0.pending_url AS pending_url_8, t0.notification_url AS notification_url_9, t0.customer_id AS customer_id_10, t0.details AS details_11, t0.status AS status_12, t0.pisp_status AS pisp_status_13, t0.bank_status AS bank_status_14, t0.mapping_id AS mapping_id_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t18.id AS id_19, t18.ip_address AS ip_address_20, t18.name AS name_21, t18.created_at AS created_at_22, t18.updated_at AS updated_at_23, t18.payment_id AS payment_id_24, t0.site_id AS site_id_25 FROM payments t0 LEFT JOIN user_payment_info t18 ON t18.payment_id = t0.id WHERE t0.id = ?
Parameters:
[
  "42fea0ac-f660-47c1-87fd-4e62e3441c51"
]
1.81 ms
(5.21%)
1
SELECT c.relname,
       obj_description(c.oid, 'pg_class') AS comment
FROM pg_class c
     INNER JOIN pg_namespace n
         ON n.oid = c.relnamespace WHERE c.relkind = 'r' AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')
Parameters:
[]
1.23 ms
(3.55%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]
1.08 ms
(3.11%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.factory_name AS factory_name_3, t0.gateway_name AS gateway_name_4, t0.config AS config_5, t0.active AS active_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM payment_gateway_configs t0 WHERE t0.gateway_name = ?
Parameters:
[
  "power_of_one_hour"
]
1.01 ms
(2.92%)
1
SELECT attnum, attname FROM pg_attribute WHERE attrelid=16483 AND attnum IN (1) ORDER BY attnum ASC
Parameters:
[]
0.73 ms
(2.09%)
1
SELECT schema_name
FROM   information_schema.schemata
WHERE  schema_name NOT LIKE 'pg\_%'
AND    schema_name != 'information_schema'
Parameters:
[]
0.37 ms
(1.08%)
1
SHOW search_path
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\Domain\Payment\Model\PaymentToken No errors.
App\Domain\PaymentGateway\Model\PaymentGatewayConfig No errors.
App\Domain\Payment\Model\Payment
  • The field App\Domain\Payment\Model\Payment#userPaymentInfo is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Domain\PaymentGateway\Model\UserPaymentInfo#payment does not contain the required 'inversedBy="userPaymentInfo"' attribute.
App\Domain\PaymentGateway\Model\UserPaymentInfo No errors.
App\Domain\Site\Model\BillingInformation No errors.
App\Domain\Site\Model\Site No errors.
App\Domain\Merchant\Model\Merchant No errors.
Payum\Core\Model\Payment No errors.
Payum\Core\Model\Payout No errors.
Payum\Core\Model\Token No errors.
Payum\Core\Model\ArrayObject No errors.
Payum\Core\Model\GatewayConfig No errors.
Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken No errors.
Vich\UploaderBundle\Entity\File No errors.
App\Domain\Administrator\Model\Administrator No errors.
App\Domain\Merchant\Model\MerchantResetPasswordToken No errors.
App\Domain\PaymentNotification\Model\PaymentNotification
  • The association App\Domain\PaymentNotification\Model\PaymentNotification#payment refers to the inverse side field App\Domain\Payment\Model\Payment#notifications which does not exist.
App\Domain\OnboardingUser\Model\OnboardingUser No errors.