GET https://test.shop.active-pro.jp/news/12

Query Metrics

29 Database Queries
19 Different statements
18.39 ms Query time
2 Invalid entities

Queries

Group similar statements

#▲ Time Info
1 0.09 ms
SET SESSION time_zone = '+00:00'
Parameters:
[]
2 0.21 ms
SELECT t0.type_id AS type_id_1, t0.data_key AS data_key_2, t0.public_div AS public_div_3, t0.type_name AS type_name_4, t0.edit_div AS edit_div_5, t0.pc_layout_id AS pc_layout_id_6, t0.sp_layout_id AS sp_layout_id_7, t0.memo AS memo_8, t0.create_date AS create_date_9, t0.update_date AS update_date_10, t0.pc_layout_id AS pc_layout_id_11, t0.sp_layout_id AS sp_layout_id_12 FROM plg_taba_cms_type t0
Parameters:
[]
3 0.61 ms
SELECT p0_.post_id AS post_id_0, p0_.data_key AS data_key_1, p0_.public_div AS public_div_2, p0_.public_date AS public_date_3, p0_.title AS title_4, p0_.body AS body_5, p0_.create_date AS create_date_6, p0_.update_date AS update_date_7, p0_.important_flag AS important_flag_8 FROM plg_taba_cms_post p0_ ORDER BY p0_.public_date DESC
Parameters:
[]
4 0.29 ms
SELECT t0.type_id AS type_id_1, t0.data_key AS data_key_2, t0.public_div AS public_div_3, t0.type_name AS type_name_4, t0.edit_div AS edit_div_5, t0.pc_layout_id AS pc_layout_id_6, t0.sp_layout_id AS sp_layout_id_7, t0.memo AS memo_8, t0.create_date AS create_date_9, t0.update_date AS update_date_10, t0.pc_layout_id AS pc_layout_id_11, t0.sp_layout_id AS sp_layout_id_12 FROM plg_taba_cms_type t0
Parameters:
[]
5 0.40 ms
SELECT p0_.post_id AS post_id_0, p0_.data_key AS data_key_1, p0_.public_div AS public_div_2, p0_.public_date AS public_date_3, p0_.title AS title_4, p0_.body AS body_5, p0_.create_date AS create_date_6, p0_.update_date AS update_date_7, p0_.important_flag AS important_flag_8 FROM plg_taba_cms_post p0_ ORDER BY p0_.public_date DESC
Parameters:
[]
6 0.57 ms
SELECT t0.id AS id_1, t0.company_name AS company_name_2, t0.company_kana AS company_kana_3, t0.postal_code AS postal_code_4, t0.addr01 AS addr01_5, t0.addr02 AS addr02_6, t0.phone_number AS phone_number_7, t0.business_hour AS business_hour_8, t0.email01 AS email01_9, t0.email02 AS email02_10, t0.email03 AS email03_11, t0.email04 AS email04_12, t0.email05 AS email05_13, t0.shop_name AS shop_name_14, t0.shop_kana AS shop_kana_15, t0.shop_name_eng AS shop_name_eng_16, t0.update_date AS update_date_17, t0.good_traded AS good_traded_18, t0.message AS message_19, t0.delivery_free_amount AS delivery_free_amount_20, t0.delivery_free_quantity AS delivery_free_quantity_21, t0.option_mypage_order_status_display AS option_mypage_order_status_display_22, t0.option_nostock_hidden AS option_nostock_hidden_23, t0.option_favorite_product AS option_favorite_product_24, t0.option_product_delivery_fee AS option_product_delivery_fee_25, t0.invoice_registration_number AS invoice_registration_number_26, t0.option_product_tax_rule AS option_product_tax_rule_27, t0.option_customer_activate AS option_customer_activate_28, t0.order_deadline_time_h AS order_deadline_time_h_29, t0.order_deadline_time_m AS order_deadline_time_m_30, t0.order_deadline_permission AS order_deadline_permission_31, t0.ad_tag_header AS ad_tag_header_32, t0.ad_tag_body AS ad_tag_body_33, t0.option_remember_me AS option_remember_me_34, t0.option_mail_notifier AS option_mail_notifier_35, t0.authentication_key AS authentication_key_36, t0.php_path AS php_path_37, t0.option_point AS option_point_38, t0.basic_point_rate AS basic_point_rate_39, t0.point_conversion_rate AS point_conversion_rate_40, t0.title_common AS title_common_41, t0.ga_id AS ga_id_42, t0.product_notice AS product_notice_43, t0.country_id AS country_id_44, t0.pref_id AS pref_id_45, t0.discriminator_type FROM dtb_base_info t0 WHERE t0.id = ? AND t0.discriminator_type IN ('baseinfo')
Parameters:
[
  1
]
7 0.61 ms
SELECT d0_.id AS id_0, d0_.page_name AS page_name_1, d0_.url AS url_2, d0_.file_name AS file_name_3, d0_.edit_type AS edit_type_4, d0_.author AS author_5, d0_.description AS description_6, d0_.keyword AS keyword_7, d0_.create_date AS create_date_8, d0_.update_date AS update_date_9, d0_.meta_robots AS meta_robots_10, d0_.meta_tags AS meta_tags_11, d1_.page_id AS page_id_12, d1_.layout_id AS layout_id_13, d1_.sort_no AS sort_no_14, d2_.id AS id_15, d2_.layout_name AS layout_name_16, d2_.create_date AS create_date_17, d2_.update_date AS update_date_18, d0_.discriminator_type AS discriminator_type_19, d0_.master_page_id AS master_page_id_20, d0_.base_info_id AS base_info_id_21, d1_.discriminator_type AS discriminator_type_22, d1_.page_id AS page_id_23, d1_.layout_id AS layout_id_24, d2_.discriminator_type AS discriminator_type_25, d2_.device_type_id AS device_type_id_26 FROM dtb_page d0_ LEFT JOIN dtb_page_layout d1_ ON d0_.id = d1_.page_id AND d1_.discriminator_type IN ('pagelayout') LEFT JOIN dtb_layout d2_ ON d1_.layout_id = d2_.id AND d2_.discriminator_type IN ('layout') WHERE (d0_.url = ?) AND d0_.discriminator_type IN ('page')
Parameters:
[
  "post_detail"
]
8 0.66 ms
SELECT d0_.id AS id_0, d0_.layout_name AS layout_name_1, d0_.create_date AS create_date_2, d0_.update_date AS update_date_3, d1_.section AS section_4, d1_.block_id AS block_id_5, d1_.layout_id AS layout_id_6, d1_.block_row AS block_row_7, d2_.id AS id_8, d2_.block_name AS block_name_9, d2_.file_name AS file_name_10, d2_.use_controller AS use_controller_11, d2_.deletable AS deletable_12, d2_.create_date AS create_date_13, d2_.update_date AS update_date_14, d0_.discriminator_type AS discriminator_type_15, d0_.device_type_id AS device_type_id_16, d1_.discriminator_type AS discriminator_type_17, d1_.block_id AS block_id_18, d1_.layout_id AS layout_id_19, d2_.discriminator_type AS discriminator_type_20, d2_.device_type_id AS device_type_id_21 FROM dtb_layout d0_ LEFT JOIN dtb_block_position d1_ ON d0_.id = d1_.layout_id AND d1_.discriminator_type IN ('blockposition') LEFT JOIN dtb_block d2_ ON d1_.block_id = d2_.id AND d2_.discriminator_type IN ('block') WHERE (d0_.id = ?) AND d0_.discriminator_type IN ('layout') ORDER BY d1_.block_row ASC
Parameters:
[
  9
]
9 0.23 ms
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
Parameters:
[]
10 0.11 ms
"START TRANSACTION"
Parameters:
[]
11 2.92 ms
SELECT dtb_product_category.* FROM dtb_product_category
                    INNER JOIN dtb_product ON dtb_product_category.product_id = dtb_product.id
                        AND dtb_product.product_status_id != 3           INNER JOIN dtb_category ON dtb_category.parent_category_id = dtb_product_category.parent_category_id
                        AND dtb_category.products_category_id = dtb_product_category.category_id
Parameters:
[]
12 2.91 ms
SELECT dtb_product_category.* FROM dtb_product_category
                    INNER JOIN dtb_product ON dtb_product_category.product_id = dtb_product.id
                        AND dtb_product.product_status_id != 3           INNER JOIN dtb_category ON dtb_category.parent_category_id = dtb_product_category.parent_category_id
                        AND dtb_category.products_category_id = dtb_product_category.category_id
Parameters:
[]
13 0.70 ms
SELECT t0.id AS id_1, t0.category_name AS category_name_2, t0.category_kana AS category_kana_3, t0.hierarchy AS hierarchy_4, t0.sort_no AS sort_no_5, t0.category_type AS category_type_6, t0.comment AS comment_7, t0.seo_description AS seo_description_8, t0.create_date AS create_date_9, t0.update_date AS update_date_10, t0.products_category_id AS products_category_id_11, t0.parent_category_id AS parent_category_id_12, t0.parent_category_id AS parent_category_id_13, t0.creator_id AS creator_id_14, t0.discriminator_type FROM dtb_category t0 WHERE t0.category_type = ? AND t0.discriminator_type IN ('category') ORDER BY t0.sort_no ASC
Parameters:
[
  0
]
14 0.74 ms
SELECT t0.id AS id_1, t0.category_name AS category_name_2, t0.category_kana AS category_kana_3, t0.hierarchy AS hierarchy_4, t0.sort_no AS sort_no_5, t0.category_type AS category_type_6, t0.comment AS comment_7, t0.seo_description AS seo_description_8, t0.create_date AS create_date_9, t0.update_date AS update_date_10, t0.products_category_id AS products_category_id_11, t0.parent_category_id AS parent_category_id_12, t0.parent_category_id AS parent_category_id_13, t0.creator_id AS creator_id_14, t0.discriminator_type FROM dtb_category t0 WHERE t0.category_type = ? AND t0.discriminator_type IN ('category') ORDER BY t0.sort_no ASC
Parameters:
[
  0
]
15 0.60 ms
SELECT d0_.id AS id_0, d0_.category_name AS category_name_1, d0_.category_kana AS category_kana_2, d0_.hierarchy AS hierarchy_3, d0_.sort_no AS sort_no_4, d0_.category_type AS category_type_5, d0_.comment AS comment_6, d0_.seo_description AS seo_description_7, d0_.create_date AS create_date_8, d0_.update_date AS update_date_9, d0_.products_category_id AS products_category_id_10, d0_.parent_category_id AS parent_category_id_11, d0_.discriminator_type AS discriminator_type_12, d0_.parent_category_id AS parent_category_id_13, d0_.creator_id AS creator_id_14 FROM dtb_category d0_ WHERE (d0_.parent_category_id IS NULL) AND d0_.discriminator_type IN ('category')
Parameters:
[]
16 0.17 ms
SELECT DATABASE()
Parameters:
[]
17 1.41 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "active_shop"
]
18 0.13 ms
SELECT DATABASE()
Parameters:
[]
19 1.17 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "active_shop"
]
20 0.13 ms
SELECT DATABASE()
Parameters:
[]
21 0.68 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:
[
  "active_shop"
  "doctrine_migration_versions"
]
22 0.11 ms
SELECT DATABASE()
Parameters:
[]
23 0.98 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 = 'active_shop' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "active_shop"
  "doctrine_migration_versions"
]
24 1.04 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:
[
  "active_shop"
  "active_shop"
  "doctrine_migration_versions"
]
25 0.09 ms
SELECT DATABASE()
Parameters:
[]
26 0.46 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:
[
  "active_shop"
  "doctrine_migration_versions"
]
27 0.11 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
28 0.11 ms
SELECT DATABASE()
Parameters:
[]
29 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.enabled AS enabled_4, t0.version AS version_5, t0.source AS source_6, t0.initialized AS initialized_7, t0.create_date AS create_date_8, t0.update_date AS update_date_9, t0.discriminator_type FROM dtb_plugin t0 WHERE t0.discriminator_type IN ('plugin')
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
Eccube\Entity\AbstractEntity No errors.
Plugin\TabaCMS2\Entity\Type No errors.
Plugin\TabaCMS2\Entity\Category No errors.
Plugin\TabaCMS2\Entity\Post No errors.
Eccube\Entity\Layout No errors.
Eccube\Entity\BaseInfo No errors.
Eccube\Entity\Master\AbstractMasterEntity No errors.
Eccube\Entity\Master\Country No errors.
Eccube\Entity\Master\Pref No errors.
Eccube\Entity\Page No errors.
Eccube\Entity\PageLayout No errors.
Eccube\Entity\Master\DeviceType No errors.
Eccube\Entity\BlockPosition No errors.
Eccube\Entity\Block No errors.
Eccube\Entity\ProductCategory
  • The referenced column name 'products_category_id' has to be a primary key column on the target entity class 'Eccube\Entity\Category'.
  • The association Eccube\Entity\ProductCategory#ParentCategory refers to the inverse side field Eccube\Entity\Category#ProductParentCategories which does not exist.
  • The referenced column name 'products_category_id' has to be a primary key column on the target entity class 'Eccube\Entity\Category'.
Eccube\Entity\Category No errors.
Eccube\Entity\Member No errors.
Eccube\Entity\Product
  • The mappings Eccube\Entity\Product#ProductClass and Eccube\Entity\ProductClass#Product are inconsistent with each other.
  • The field Eccube\Entity\Product#FreeWordSearchTags is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Eccube\Entity\FreeWordSearchTag#Product does not contain the required 'inversedBy="FreeWordSearchTags"' attribute.
  • The mappings Eccube\Entity\Product#ReplacementProducts and Eccube\Entity\ReplacementProduct#Product are inconsistent with each other.
  • The mappings Eccube\Entity\Product#PopDownload and Eccube\Entity\PopDownload#Product are inconsistent with each other.
  • The mappings Eccube\Entity\Product#CustomerFavoriteProduct and Eccube\Entity\CustomerFavoriteProduct#Product are inconsistent with each other.
  • The mappings Eccube\Entity\Product#RecommendProducts and Eccube\Entity\RecommendProduct#Product are inconsistent with each other.
  • The field Eccube\Entity\Product#OrderItem is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Eccube\Entity\OrderItem#Product does not contain the required 'inversedBy="OrderItem"' attribute.
Eccube\Entity\Master\Work No errors.
Eccube\Entity\Master\Authority No errors.
Eccube\Entity\Plugin No errors.