https://secondgate.net/robots.txt

Query Metrics

16 Database Queries
10 Different statements
20.77 ms Query time
14 Invalid entities

Queries

Group similar statements

# Time Info
1 4.66 ms
SELECT d0_.id AS id_0, d0_.no AS no_1, d0_.name AS name_2, d0_.kana AS kana_3, d0_.zip AS zip_4, d0_.addr AS addr_5, d0_.tel AS tel_6, d0_.approval_date AS approval_date_7, d0_.create_date AS create_date_8, d0_.update_date AS update_date_9, d0_.delete_date AS delete_date_10 FROM destination d0_ WHERE (d0_.approval_date IS NULL) AND ((d0_.delete_date IS NULL OR d0_.delete_date > CURRENT_TIMESTAMP)) ORDER BY d0_.id ASC
Parameters:
[]
2 2.03 ms
SELECT o0_.id AS id_0, o0_.no AS no_1, o0_.src AS src_2, o0_.order_date AS order_date_3, o0_.shipping_date AS shipping_date_4, o0_.partner_staff AS partner_staff_5, o0_.sender_code AS sender_code_6, o0_.sender_name AS sender_name_7, o0_.sender_zip AS sender_zip_8, o0_.sender_addr AS sender_addr_9, o0_.sender_tel AS sender_tel_10, o0_.sender_fax AS sender_fax_11, o0_.orderer_name AS orderer_name_12, o0_.orderer_kana AS orderer_kana_13, o0_.orderer_zip AS orderer_zip_14, o0_.orderer_addr AS orderer_addr_15, o0_.orderer_tel AS orderer_tel_16, o0_.orderer_email AS orderer_email_17, o0_.orderer_shipping_preferred_date AS orderer_shipping_preferred_date_18, o0_.orderer_shipping_preferred_time AS orderer_shipping_preferred_time_19, o0_.memo AS memo_20, o0_.remarks AS remarks_21, o0_.remarks_1 AS remarks_1_22, o0_.remarks_2 AS remarks_2_23, o0_.remarks_3 AS remarks_3_24, o0_.delivery_remarks_1 AS delivery_remarks_1_25, o0_.delivery_remarks_2 AS delivery_remarks_2_26, o0_.delivery_remarks_3 AS delivery_remarks_3_27, o0_.create_date AS create_date_28, o0_.update_date AS update_date_29, o0_.delete_date AS delete_date_30, o0_.partner_id AS partner_id_31, o0_.type_id AS type_id_32, o0_.appropriate_id AS appropriate_id_33, o0_.user_id AS user_id_34, o0_.order_item_shipping_id AS order_item_shipping_id_35 FROM order_item o0_ INNER JOIN order_item_status_history o1_ ON o0_.id = o1_.order_item_id AND ((o1_.delete_date IS NULL OR o1_.delete_date > CURRENT_TIMESTAMP)) WHERE (o1_.create_date IN (SELECT max(o2_.create_date) AS sclr_36 FROM order_item_status_history o2_ WHERE (o2_.order_item_id = o0_.id) AND ((o2_.delete_date IS NULL OR o2_.delete_date > CURRENT_TIMESTAMP))) AND o1_.status_id IN (?)) AND ((o0_.delete_date IS NULL OR o0_.delete_date > CURRENT_TIMESTAMP)) ORDER BY o0_.order_date ASC
Parameters:
[
  [
    3
  ]
]
3 1.37 ms
SELECT s0_.id AS id_0, s0_.no AS no_1, s0_.src AS src_2, s0_.order_date AS order_date_3, s0_.partner_staff AS partner_staff_4, s0_.sender_code AS sender_code_5, s0_.sender_name AS sender_name_6, s0_.sender_zip AS sender_zip_7, s0_.sender_addr AS sender_addr_8, s0_.sender_tel AS sender_tel_9, s0_.sender_fax AS sender_fax_10, s0_.memo AS memo_11, s0_.remarks_1 AS remarks_1_12, s0_.remarks_2 AS remarks_2_13, s0_.remarks_3 AS remarks_3_14, s0_.delivery_date AS delivery_date_15, s0_.shipping_date AS shipping_date_16, s0_.create_date AS create_date_17, s0_.update_date AS update_date_18, s0_.delete_date AS delete_date_19, s0_.partner_id AS partner_id_20, s0_.type_id AS type_id_21, s0_.appropriate_id AS appropriate_id_22, s0_.user_id AS user_id_23, s0_.invoice_id AS invoice_id_24, s0_.external_sales_history_id AS external_sales_history_id_25, s0_.sales_shipping_id AS sales_shipping_id_26 FROM sales s0_ INNER JOIN sales_status_history s1_ ON s0_.id = s1_.sales_id AND ((s1_.delete_date IS NULL OR s1_.delete_date > CURRENT_TIMESTAMP)) WHERE (s1_.create_date IN (SELECT max(s2_.create_date) AS sclr_27 FROM sales_status_history s2_ WHERE (s2_.sales_id = s0_.id) AND ((s2_.delete_date IS NULL OR s2_.delete_date > CURRENT_TIMESTAMP))) AND s1_.status_id IN (?)) AND ((s0_.delete_date IS NULL OR s0_.delete_date > CURRENT_TIMESTAMP)) ORDER BY s0_.order_date ASC
Parameters:
[
  [
    2
  ]
]
4 0.32 ms
SELECT DATABASE()
Parameters:
[]
5 2.37 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "2ndgate_symfony"
]
6 0.25 ms
SELECT DATABASE()
Parameters:
[]
7 0.73 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "2ndgate_symfony"
]
8 0.21 ms
SELECT DATABASE()
Parameters:
[]
9 0.83 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:
[
  "2ndgate_symfony"
  "doctrine_migration_versions"
]
10 0.17 ms
SELECT DATABASE()
Parameters:
[]
11 5.16 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 = '2ndgate_symfony' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "2ndgate_symfony"
  "doctrine_migration_versions"
]
12 1.41 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:
[
  "2ndgate_symfony"
  "2ndgate_symfony"
  "doctrine_migration_versions"
]
13 0.19 ms
SELECT DATABASE()
Parameters:
[]
14 0.40 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:
[
  "2ndgate_symfony"
  "doctrine_migration_versions"
]
15 0.36 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
16 0.30 ms
SELECT DATABASE()
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\Destination No errors.
App\Entity\StatusOrderItem No errors.
App\Entity\OrderItemStatusHistory
  • The association App\Entity\OrderItemStatusHistory#OrderItem refers to the inverse side field App\Entity\OrderItem#OrderItemStatusHistory which does not exist.
  • The association App\Entity\OrderItemStatusHistory#StatusOrderItem refers to the inverse side field App\Entity\StatusOrderItem#OrderItemStatusHistory which does not exist.
  • The association App\Entity\OrderItemStatusHistory#User refers to the inverse side field App\Entity\User#OrderItemStatusHistory which does not exist.
App\Entity\OrderItem
  • The association App\Entity\OrderItem#Partner refers to the inverse side field App\Entity\Partner#OrderItem which does not exist.
  • The association App\Entity\OrderItem#Type refers to the inverse side field App\Entity\Master\Type#OrderItem which does not exist.
  • The association App\Entity\OrderItem#Appropriate refers to the inverse side field App\Entity\Appropriate#OrderItem which does not exist.
  • The association App\Entity\OrderItem#User refers to the inverse side field App\Entity\User#OrderItem which does not exist.
  • The mappings App\Entity\OrderItem#OrderItemStatusHistorys and App\Entity\OrderItemStatusHistory#OrderItem are inconsistent with each other.
App\Entity\SalesStatus No errors.
App\Entity\SalesStatusHistory
  • The association App\Entity\SalesStatusHistory#Sales refers to the inverse side field App\Entity\Sales#SalesStatusHistory which does not exist.
  • The association App\Entity\SalesStatusHistory#SalesStatus refers to the inverse side field App\Entity\SalesStatus#SalesStatusHistory which does not exist.
  • The association App\Entity\SalesStatusHistory#User refers to the inverse side field App\Entity\User#SalesStatusHistory which does not exist.
App\Entity\Sales
  • The association App\Entity\Sales#Partner refers to the inverse side field App\Entity\Partner#Sales which does not exist.
  • The association App\Entity\Sales#Type refers to the inverse side field App\Entity\Master\Type#Sales which does not exist.
  • The association App\Entity\Sales#Appropriate refers to the inverse side field App\Entity\Appropriate#Sales which does not exist.
  • The association App\Entity\Sales#User refers to the inverse side field App\Entity\User#Sales which does not exist.
  • The association App\Entity\Sales#Invoice refers to the inverse side field App\Entity\Invoice#Sales which does not exist.
  • The association App\Entity\Sales#ExternalSalesHistory refers to the inverse side field App\Entity\ExternalSalesHistory#Sales which does not exist.
  • The mappings App\Entity\Sales#SalesStatusHistorys and App\Entity\SalesStatusHistory#Sales are inconsistent with each other.
App\Entity\Partner
  • The association App\Entity\Partner#Type refers to the inverse side field App\Entity\Master\Type#Partner which does not exist.
  • The mappings App\Entity\Partner#MaterialSupplier and App\Entity\MaterialSupplier#Supplier are inconsistent with each other.
  • The association App\Entity\Partner#User refers to the inverse side field App\Entity\User#Partner which does not exist.
App\Entity\Master\Type No errors.
App\Entity\Appropriate No errors.
App\Entity\User No errors.
App\Entity\OrderItemShipping
  • The association App\Entity\OrderItemShipping#Delivery refers to the inverse side field App\Entity\Master\Delivery#OrderItemShippings which does not exist.
  • The association App\Entity\OrderItemShipping#DeliveryType refers to the inverse side field App\Entity\Master\DeliveryType#OrderItemShippings which does not exist.
  • The association App\Entity\OrderItemShipping#DeliveryTime refers to the inverse side field App\Entity\Master\DeliveryTime#OrderItemShippings which does not exist.
App\Entity\OrderItemDetail
  • The association App\Entity\OrderItemDetail#Product refers to the inverse side field App\Entity\Product#ProductDetails which does not exist.
App\Entity\OrderItemMaterial
  • The association App\Entity\OrderItemMaterial#DeliveryFeeCheck refers to the inverse side field App\Entity\Master\DeliveryFeeCheck#OrderItemMaterials which does not exist.
  • The association App\Entity\OrderItemMaterial#Material refers to the inverse side field App\Entity\Material#OrderItemMaterials which does not exist.
  • The association App\Entity\OrderItemMaterial#OrderItemDetail refers to the owning side field App\Entity\OrderItemDetail#OrderItemMaterial which does not exist.
App\Entity\OrderItemOther No errors.
App\Entity\OrderItemSendRequest
  • The association App\Entity\OrderItemSendRequest#Supplier refers to the inverse side field App\Entity\Partner#OrderItemSendRequests which does not exist.
App\Entity\Invoice
  • The association App\Entity\Invoice#Partner refers to the inverse side field App\Entity\Partner#Sales which does not exist.
App\Entity\ExternalSalesHistory No errors.
App\Entity\SalesShipping No errors.
App\Entity\SalesDeliveryReport No errors.
App\Entity\SalesMaterial
  • The association App\Entity\SalesMaterial#DeliveryFeeCheck refers to the inverse side field App\Entity\Master\DeliveryFeeCheck#SalesSupplies which does not exist.
  • The association App\Entity\SalesMaterial#Material refers to the inverse side field App\Entity\Material#SalesMaterials which does not exist.
App\Entity\SalesOther No errors.
App\Entity\MaterialSupplier
  • The association App\Entity\MaterialSupplier#Supplier refers to the inverse side field App\Entity\Partner#MaterialSuppliers which does not exist.
App\Entity\Master\Delivery No errors.
App\Entity\Master\DeliveryType No errors.
App\Entity\Master\DeliveryTime No errors.
App\Entity\Product No errors.
App\Entity\Master\DeliveryFeeCheck No errors.
App\Entity\Material No errors.
App\Entity\OrderItemSupply
  • The association App\Entity\OrderItemSupply#OrderItem refers to the inverse side field App\Entity\OrderItem#OrderItemSupplies which does not exist.
  • The association App\Entity\OrderItemSupply#OrderItemShipping refers to the inverse side field App\Entity\OrderItemShipping#OrderItemSupplies which does not exist.
  • The association App\Entity\OrderItemSupply#Supplier refers to the inverse side field App\Entity\Partner#OrderItemSupplies which does not exist.
  • The association App\Entity\OrderItemSupply#Delivery refers to the inverse side field App\Entity\Master\Delivery#OrderItemSupplies which does not exist.
  • The association App\Entity\OrderItemSupply#DeliveryType refers to the inverse side field App\Entity\Master\DeliveryType#OrderItemSupplies which does not exist.
  • The association App\Entity\OrderItemSupply#DeliveryFeeCheck refers to the inverse side field App\Entity\Master\DeliveryFeeCheck#OrderItemSupplies which does not exist.
App\Entity\SalesSupply
  • The association App\Entity\SalesSupply#Supplier refers to the inverse side field App\Entity\Partner#SalesSupplies which does not exist.
  • The association App\Entity\SalesSupply#Delivery refers to the inverse side field App\Entity\Master\Delivery#SalesSupplies which does not exist.
  • The association App\Entity\SalesSupply#DeliveryType refers to the inverse side field App\Entity\Master\DeliveryType#SalesSupplies which does not exist.
  • The association App\Entity\SalesSupply#DeliveryFeeCheck refers to the inverse side field App\Entity\Master\DeliveryFeeCheck#SalesSupplies which does not exist.
  • The association App\Entity\SalesSupply#ExternalSupplierHistory refers to the inverse side field App\Entity\ExternalSupplierHistory#Sales which does not exist.