http://yamaria-ec-demo.testman.biz/block/search_product

Query Metrics

64 Database Queries
23 Different statements
55.70 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
21.77 ms
(39.08%)
32
SELECT t0.id AS id_1, t0.price AS price_2, t0.customer_rank_id AS customer_rank_id_3, t0.product_class_id AS product_class_id_4, t0.discriminator_type FROM plg_customerrank_dtb_customer_price t0 WHERE t0.customer_rank_id = ? AND t0.product_class_id = ? AND t0.discriminator_type IN ('customerprice') LIMIT 1
Parameters:
[
  1
  739
]
6.01 ms
(10.79%)
1
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.note AS note_2, d0_.description_list AS description_list_3, d0_.description_detail AS description_detail_4, d0_.search_word AS search_word_5, d0_.free_area AS free_area_6, d0_.create_date AS create_date_7, d0_.update_date AS update_date_8, d0_.plg_purchase_quantity_limit AS plg_purchase_quantity_limit_9, d0_.display_rank AS display_rank_10, d0_.shipping_name AS shipping_name_11, d1_.id AS id_12, d1_.product_code AS product_code_13, d1_.stock AS stock_14, d1_.stock_unlimited AS stock_unlimited_15, d1_.sale_limit AS sale_limit_16, d1_.price01 AS price01_17, d1_.price02 AS price02_18, d1_.delivery_fee AS delivery_fee_19, d1_.visible AS visible_20, d1_.create_date AS create_date_21, d1_.update_date AS update_date_22, d1_.currency_code AS currency_code_23, d1_.point_rate AS point_rate_24, d1_.plg_purchase_quantity_limit AS plg_purchase_quantity_limit_25, d2_.id AS id_26, d2_.backend_name AS backend_name_27, d2_.name AS name_28, d2_.sort_no AS sort_no_29, d2_.visible AS visible_30, d2_.create_date AS create_date_31, d2_.update_date AS update_date_32, d3_.id AS id_33, d3_.backend_name AS backend_name_34, d3_.name AS name_35, d3_.sort_no AS sort_no_36, d3_.visible AS visible_37, d3_.create_date AS create_date_38, d3_.update_date AS update_date_39, d4_.id AS id_40, d4_.file_name AS file_name_41, d4_.sort_no AS sort_no_42, d4_.create_date AS create_date_43, d5_.id AS id_44, d5_.create_date AS create_date_45, d0_.discriminator_type AS discriminator_type_46, d0_.creator_id AS creator_id_47, d0_.product_status_id AS product_status_id_48, d1_.discriminator_type AS discriminator_type_49, d1_.product_id AS product_id_50, d1_.sale_type_id AS sale_type_id_51, d1_.class_category_id1 AS class_category_id1_52, d1_.class_category_id2 AS class_category_id2_53, d1_.delivery_duration_id AS delivery_duration_id_54, d1_.creator_id AS creator_id_55, d2_.discriminator_type AS discriminator_type_56, d2_.class_name_id AS class_name_id_57, d2_.creator_id AS creator_id_58, d3_.discriminator_type AS discriminator_type_59, d3_.class_name_id AS class_name_id_60, d3_.creator_id AS creator_id_61, d4_.discriminator_type AS discriminator_type_62, d4_.product_id AS product_id_63, d4_.creator_id AS creator_id_64, d5_.discriminator_type AS discriminator_type_65, d5_.product_id AS product_id_66, d5_.tag_id AS tag_id_67, d5_.creator_id AS creator_id_68 FROM dtb_product d0_ INNER JOIN dtb_product_class d1_ ON d0_.id = d1_.product_id AND d1_.discriminator_type IN ('productclass') LEFT JOIN dtb_class_category d2_ ON d1_.class_category_id1 = d2_.id AND d2_.discriminator_type IN ('classcategory') LEFT JOIN dtb_class_category d3_ ON d1_.class_category_id2 = d3_.id AND d3_.discriminator_type IN ('classcategory') LEFT JOIN dtb_product_image d4_ ON d0_.id = d4_.product_id AND d4_.discriminator_type IN ('productimage') LEFT JOIN dtb_product_tag d5_ ON d0_.id = d5_.product_id AND d5_.discriminator_type IN ('producttag') WHERE (d0_.id = ? AND d1_.visible = ?) AND d0_.discriminator_type IN ('product') ORDER BY d2_.sort_no DESC, d3_.sort_no DESC, d4_.sort_no ASC
Parameters:
[
  "129"
  1
]
5.96 ms
(10.70%)
1
SELECT d0_.id AS id_0, d0_.category_name AS category_name_1, d0_.hierarchy AS hierarchy_2, d0_.sort_no AS sort_no_3, d0_.create_date AS create_date_4, d0_.update_date AS update_date_5, d0_.header_contents AS header_contents_6, d0_.footer_contents AS footer_contents_7, d1_.id AS id_8, d1_.category_name AS category_name_9, d1_.hierarchy AS hierarchy_10, d1_.sort_no AS sort_no_11, d1_.create_date AS create_date_12, d1_.update_date AS update_date_13, d1_.header_contents AS header_contents_14, d1_.footer_contents AS footer_contents_15, d2_.id AS id_16, d2_.category_name AS category_name_17, d2_.hierarchy AS hierarchy_18, d2_.sort_no AS sort_no_19, d2_.create_date AS create_date_20, d2_.update_date AS update_date_21, d2_.header_contents AS header_contents_22, d2_.footer_contents AS footer_contents_23, d3_.id AS id_24, d3_.category_name AS category_name_25, d3_.hierarchy AS hierarchy_26, d3_.sort_no AS sort_no_27, d3_.create_date AS create_date_28, d3_.update_date AS update_date_29, d3_.header_contents AS header_contents_30, d3_.footer_contents AS footer_contents_31, d4_.id AS id_32, d4_.category_name AS category_name_33, d4_.hierarchy AS hierarchy_34, d4_.sort_no AS sort_no_35, d4_.create_date AS create_date_36, d4_.update_date AS update_date_37, d4_.header_contents AS header_contents_38, d4_.footer_contents AS footer_contents_39, d0_.discriminator_type AS discriminator_type_40, d0_.parent_category_id AS parent_category_id_41, d0_.creator_id AS creator_id_42, d1_.discriminator_type AS discriminator_type_43, d1_.parent_category_id AS parent_category_id_44, d1_.creator_id AS creator_id_45, d2_.discriminator_type AS discriminator_type_46, d2_.parent_category_id AS parent_category_id_47, d2_.creator_id AS creator_id_48, d3_.discriminator_type AS discriminator_type_49, d3_.parent_category_id AS parent_category_id_50, d3_.creator_id AS creator_id_51, d4_.discriminator_type AS discriminator_type_52, d4_.parent_category_id AS parent_category_id_53, d4_.creator_id AS creator_id_54 FROM dtb_category d0_ LEFT JOIN dtb_category d1_ ON d0_.id = d1_.parent_category_id AND d1_.discriminator_type IN ('category') LEFT JOIN dtb_category d2_ ON d1_.id = d2_.parent_category_id AND d2_.discriminator_type IN ('category') LEFT JOIN dtb_category d3_ ON d2_.id = d3_.parent_category_id AND d3_.discriminator_type IN ('category') LEFT JOIN dtb_category d4_ ON d3_.id = d4_.parent_category_id AND d4_.discriminator_type IN ('category') WHERE (d0_.parent_category_id IS NULL) AND d0_.discriminator_type IN ('category') ORDER BY d0_.sort_no DESC, d1_.sort_no DESC, d2_.sort_no DESC, d3_.sort_no DESC, d4_.sort_no DESC
Parameters:
[]
2.57 ms
(4.61%)
4
SELECT t0.id AS id_1, t0.name AS name_2, t0.discount_rate AS discount_rate_3, t0.discount_value AS discount_value_4, t0.point_rate AS point_rate_5, t0.delivery_free_condition AS delivery_free_condition_6, t0.cond_amount AS cond_amount_7, t0.cond_buytimes AS cond_buytimes_8, t0.initial_flg AS initial_flg_9, t0.fixed_flg AS fixed_flg_10, t0.priority AS priority_11, t0.extension_period AS extension_period_12, t0.create_date AS create_date_13, t0.update_date AS update_date_14, t0.discriminator_type FROM plg_customerrank_dtb_customer_rank t0 WHERE t0.discriminator_type IN ('customerrank')
Parameters:
[]
2.41 ms
(4.33%)
4
SELECT t0.id AS id_1, t0.tax_rate AS tax_rate_2, t0.tax_adjust AS tax_adjust_3, t0.apply_date AS apply_date_4, t0.create_date AS create_date_5, t0.update_date AS update_date_6, t0.product_class_id AS product_class_id_7, t0.creator_id AS creator_id_8, t0.country_id AS country_id_9, t0.pref_id AS pref_id_10, t0.product_id AS product_id_11, t0.rounding_type_id AS rounding_type_id_12, t0.discriminator_type FROM dtb_tax_rule t0 WHERE t0.product_class_id = ? AND t0.discriminator_type IN ('taxrule')
Parameters:
[
  739
]
2.40 ms
(4.30%)
4
SELECT t0.id AS id_1, t0.stock AS stock_2, t0.create_date AS create_date_3, t0.update_date AS update_date_4, t0.product_class_id AS product_class_id_5, t0.creator_id AS creator_id_6, t0.discriminator_type FROM dtb_product_stock t0 WHERE t0.product_class_id = ? AND t0.discriminator_type IN ('productstock')
Parameters:
[
  739
]
1.57 ms
(2.83%)
1
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:
[
  4
]
1.35 ms
(2.43%)
1
SET SESSION time_zone = '+00:00'
Parameters:
[]
1.19 ms
(2.14%)
1
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, d1_.discriminator_type AS discriminator_type_21, d1_.page_id AS page_id_22, d1_.layout_id AS layout_id_23, d2_.discriminator_type AS discriminator_type_24, d2_.device_type_id AS device_type_id_25 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:
[
  "product_detail"
]
1.14 ms
(2.04%)
1
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.shop_name AS shop_name_13, t0.shop_kana AS shop_kana_14, t0.shop_name_eng AS shop_name_eng_15, t0.update_date AS update_date_16, t0.good_traded AS good_traded_17, t0.message AS message_18, t0.delivery_free_amount AS delivery_free_amount_19, t0.delivery_free_quantity AS delivery_free_quantity_20, t0.option_mypage_order_status_display AS option_mypage_order_status_display_21, t0.option_nostock_hidden AS option_nostock_hidden_22, t0.option_favorite_product AS option_favorite_product_23, t0.option_product_delivery_fee AS option_product_delivery_fee_24, t0.invoice_registration_number AS invoice_registration_number_25, t0.option_product_tax_rule AS option_product_tax_rule_26, t0.option_customer_activate AS option_customer_activate_27, t0.option_remember_me AS option_remember_me_28, t0.authentication_key AS authentication_key_29, t0.php_path AS php_path_30, t0.option_point AS option_point_31, t0.basic_point_rate AS basic_point_rate_32, t0.point_conversion_rate AS point_conversion_rate_33, t0.country_id AS country_id_34, t0.pref_id AS pref_id_35, t0.discriminator_type FROM dtb_base_info t0 WHERE t0.id = ? AND t0.discriminator_type IN ('baseinfo')
Parameters:
[
  1
]
1.13 ms
(2.02%)
2
SELECT t0.name AS name_1, t0.value AS value_2, t0.discriminator_type FROM plg_customerrank_dtb_config t0 WHERE t0.name = ? AND t0.discriminator_type IN ('customerrankconfig') LIMIT 1
Parameters:
[
  "login_disp"
]
0.85 ms
(1.53%)
1
SELECT t0.id AS id_1, t0.category_name AS category_name_2, t0.hierarchy AS hierarchy_3, t0.sort_no AS sort_no_4, t0.create_date AS create_date_5, t0.update_date AS update_date_6, t0.header_contents AS header_contents_7, t0.footer_contents AS footer_contents_8, t0.parent_category_id AS parent_category_id_9, t0.creator_id AS creator_id_10, t0.discriminator_type FROM dtb_category t0 WHERE t0.id = ? AND t0.discriminator_type IN ('category')
Parameters:
[
  8
]
0.84 ms
(1.51%)
1
SELECT t0.id AS id_1, t0.reviewer_name AS reviewer_name_2, t0.reviewer_url AS reviewer_url_3, t0.title AS title_4, t0.comment AS comment_5, t0.recommend_level AS recommend_level_6, t0.create_date AS create_date_7, t0.update_date AS update_date_8, t0.sex_id AS sex_id_9, t0.product_id AS product_id_10, t0.customer_id AS customer_id_11, t0.status_id AS status_id_12 FROM plg_product_review t0 WHERE t0.status_id = ? AND t0.product_id = ? ORDER BY t0.id DESC LIMIT 5
Parameters:
[
  1
  129
]
0.82 ms
(1.48%)
1
SELECT t0.product_id AS product_id_1, t0.category_id AS category_id_2, t0.product_id AS product_id_3, t0.category_id AS category_id_4, t0.discriminator_type FROM dtb_product_category t0 WHERE t0.product_id = ? AND t0.discriminator_type IN ('productcategory')
Parameters:
[
  129
]
0.80 ms
(1.43%)
1
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.code = ? AND t0.enabled = ? AND t0.discriminator_type IN ('plugin') LIMIT 1
Parameters:
[
  "CustomerRank42"
  1
]
0.76 ms
(1.37%)
1
SELECT t0.id AS id_1, t0.backend_name AS backend_name_2, t0.name AS name_3, t0.sort_no AS sort_no_4, t0.create_date AS create_date_5, t0.update_date AS update_date_6, t0.creator_id AS creator_id_7, t0.discriminator_type FROM dtb_class_name t0 WHERE t0.id = ? AND t0.discriminator_type IN ('classname')
Parameters:
[
  54
]
0.73 ms
(1.31%)
1
SELECT t0.name AS name_1, t0.value AS value_2, t0.discriminator_type FROM plg_salesrestrictions_dtb_config t0 WHERE t0.name = ? AND t0.discriminator_type IN ('salesrestrictionsconfig') LIMIT 1
Parameters:
[
  "condition"
]
0.71 ms
(1.28%)
1
SELECT t0.id AS id_1, t0.customer_rank_id AS customer_rank_id_2, t0.product_id AS product_id_3, t0.discriminator_type FROM plg_salesrestrictions_dtb_product_customer_rank t0 WHERE t0.product_id = ? AND t0.discriminator_type IN ('productcustomerrank')
Parameters:
[
  129
]
0.71 ms
(1.27%)
1
SELECT d0_.id AS id_0, d0_.tax_rate AS tax_rate_1, d0_.tax_adjust AS tax_adjust_2, d0_.apply_date AS apply_date_3, d0_.create_date AS create_date_4, d0_.update_date AS update_date_5, d0_.discriminator_type AS discriminator_type_6, d0_.product_class_id AS product_class_id_7, d0_.creator_id AS creator_id_8, d0_.country_id AS country_id_9, d0_.pref_id AS pref_id_10, d0_.product_id AS product_id_11, d0_.rounding_type_id AS rounding_type_id_12 FROM dtb_tax_rule d0_ WHERE (d0_.apply_date < ? AND d0_.pref_id IS NULL AND d0_.country_id IS NULL AND d0_.product_id IS NULL AND d0_.product_class_id IS NULL) AND d0_.discriminator_type IN ('taxrule') ORDER BY d0_.apply_date DESC
Parameters:
[
  "2024-12-22 11:14:29"
]
0.65 ms
(1.17%)
1
SELECT t0.id AS id_1, t0.review_max AS review_max_2, t0.create_date AS create_date_3, t0.update_date AS update_date_4, t0.csv_type_id AS csv_type_id_5 FROM plg_product_review_config t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.64 ms
(1.15%)
1
SELECT avg(p0_.recommend_level) AS sclr_0, count(p0_.id) AS sclr_1 FROM plg_product_review p0_ LEFT JOIN dtb_product d1_ ON p0_.product_id = d1_.id AND d1_.discriminator_type IN ('product') WHERE p0_.product_id = ? AND p0_.status_id = ? GROUP BY p0_.product_id
Parameters:
[
  129
  1
]
0.42 ms
(0.75%)
1
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
Parameters:
[]
0.27 ms
(0.48%)
1
"START TRANSACTION"
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
Plugin\ProductDisplayRank4\Entity\Config No errors.
Eccube\Entity\AbstractEntity No errors.
Plugin\SalesRestrictions42\Entity\ProductCustomerRank No errors.
Plugin\SalesRestrictions42\Entity\SalesRestrictionsConfig No errors.
Eccube\Entity\Product No errors.
Plugin\TabaCustomFields2\Entity\CustomFieldsContents No errors.
Plugin\TabaCustomFields2\Entity\CustomFields No errors.
Eccube\Entity\Order No errors.
Eccube\Entity\BaseInfo No errors.
Eccube\Entity\Page No errors.
Eccube\Entity\PageLayout No errors.
Eccube\Entity\Block No errors.
Eccube\Entity\BlockPosition No errors.
Eccube\Entity\Master\AbstractMasterEntity No errors.
Eccube\Entity\Master\DeviceType No errors.
Eccube\Entity\AuthorityRole No errors.
Eccube\Entity\Layout No errors.
Eccube\Entity\Customer No errors.
Eccube\Entity\Master\Country No errors.
Eccube\Entity\Master\Pref No errors.
Eccube\Entity\Delivery No errors.
Plugin\CustomerRank42\Entity\CustomerPrice No errors.
Plugin\CustomerRank42\Entity\CustomerRank No errors.
Plugin\CustomerRank42\Entity\CustomerRankConfig No errors.
Plugin\CustomerRank42\Entity\ConfigStatus No errors.
Plugin\PurchaseQuantityLimit4\Entity\Config No errors.
Eccube\Entity\ProductClass No errors.
Eccube\Entity\CustomerFavoriteProduct No errors.
Eccube\Entity\Master\ProductListMax No errors.
Eccube\Entity\ClassCategory No errors.
Eccube\Entity\ProductImage No errors.
Eccube\Entity\ProductTag No errors.
Eccube\Entity\Member No errors.
Eccube\Entity\Master\ProductStatus No errors.
Eccube\Entity\Master\SaleType No errors.
Eccube\Entity\DeliveryDuration No errors.
Eccube\Entity\ClassName No errors.
Eccube\Entity\Tag No errors.
Eccube\Entity\ProductCategory No errors.
Plugin\RelatedProduct42\Entity\RelatedProduct No errors.
Eccube\Entity\ProductStock No errors.
Eccube\Entity\TaxRule No errors.
Eccube\Entity\Master\RoundingType No errors.
Eccube\Entity\CartItem No errors.
Plugin\ProductReview42\Entity\ProductReviewConfig No errors.
Plugin\ProductReview42\Entity\ProductReview No errors.
Eccube\Entity\Master\CsvType No errors.
Eccube\Entity\Master\Sex No errors.
Plugin\ProductReview42\Entity\ProductReviewStatus No errors.
Eccube\Entity\Plugin No errors.
Eccube\Entity\Category No errors.