Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `Setting`.`id`, `Setting`.`name`, `Setting`.`value`, `Setting`.`flag`, `Setting`.`number`, `Setting`.`modified` FROM `kir060294_testshop3`.`settings` AS `Setting` WHERE 1 = 1 | 31 | 31 | 0 | |
SHOW TABLE STATUS | 33 | 33 | 3 | maybe slow |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `name` = 'normal_prices' AND `display_flag` = '1' LIMIT 1 | 1 | 1 | 0 | |
SELECT `Price`.`id`, `Price`.`display_flag`, `Price`.`parent_id`, `Price`.`name`, `Price`.`type`, `Price`.`value`, `Price`.`top_value`, `Price`.`bottom_flag`, `Price`.`number`, `Price`.`created`, `Price`.`modified` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `parent_id` = 1 AND `display_flag` = '1' ORDER BY `number` asc | 14 | 14 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `name` = 'delivery_prices' AND `display_flag` = '1' LIMIT 1 | 1 | 1 | 0 | |
SELECT `Price`.`id`, `Price`.`display_flag`, `Price`.`parent_id`, `Price`.`name`, `Price`.`type`, `Price`.`value`, `Price`.`top_value`, `Price`.`bottom_flag`, `Price`.`number`, `Price`.`created`, `Price`.`modified` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `parent_id` = 2 AND `display_flag` = '1' ORDER BY `number` asc | 13 | 13 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `name` = 'annotation' AND `parent_id` IS NULL AND `display_flag` = '1' LIMIT 1 | 1 | 1 | 0 | |
SELECT `Price`.`id`, `Price`.`display_flag`, `Price`.`parent_id`, `Price`.`name`, `Price`.`type`, `Price`.`value`, `Price`.`top_value`, `Price`.`bottom_flag`, `Price`.`number`, `Price`.`created`, `Price`.`modified` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `parent_id` = 44 AND `display_flag` = '1' ORDER BY `number` asc | 0 | 0 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `name` = 'information' AND `parent_id` IS NULL AND `display_flag` = '1' LIMIT 1 | 1 | 1 | 0 | |
SELECT `Price`.`id`, `Price`.`display_flag`, `Price`.`parent_id`, `Price`.`name`, `Price`.`type`, `Price`.`value`, `Price`.`top_value`, `Price`.`bottom_flag`, `Price`.`number`, `Price`.`created`, `Price`.`modified` FROM `kir060294_testshop3`.`prices` AS `Price` WHERE `parent_id` = 45 AND `display_flag` = '1' ORDER BY `number` asc | 0 | 0 | 0 | |
SELECT `Ranking`.`id`, `Ranking`.`display_flag`, `Ranking`.`title`, `Ranking`.`number`, `Ranking`.`created`, `Ranking`.`modified` FROM `kir060294_testshop3`.`rankings` AS `Ranking` WHERE `display_flag` = '1' ORDER BY `number` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `FooterVendorBanner`.`id`, `FooterVendorBanner`.`display_flag`, `FooterVendorBanner`.`type`, `FooterVendorBanner`.`file_name`, `FooterVendorBanner`.`source`, `FooterVendorBanner`.`link`, `FooterVendorBanner`.`alt`, `FooterVendorBanner`.`new_tab`, `FooterVendorBanner`.`number`, `FooterVendorBanner`.`created`, `FooterVendorBanner`.`modifield` FROM `kir060294_testshop3`.`footer_vendor_banners` AS `FooterVendorBanner` WHERE `display_flag` = '1' ORDER BY `number` asc | 0 | 0 | 0 | |
SELECT `Option`.`id`, `Option`.`name` FROM `kir060294_testshop3`.`options` AS `Option` WHERE `Option`.`display_flag` = '1' ORDER BY `Option`.`number` asc | 10 | 10 | 0 | |
SELECT `Type`.`id`, `Type`.`name` FROM `kir060294_testshop3`.`types` AS `Type` WHERE `Type`.`display_flag` = '1' ORDER BY `Type`.`number` asc | 6 | 6 | 0 | |
SELECT `Reserve`.`cast_id` FROM `kir060294_testshop3`.`reserves` AS `Reserve` WHERE `Reserve`.`end` >= '2024-12-04 02:45:52' ORDER BY `Reserve`.`end` asc | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified`, `Reserve`.`id`, `Reserve`.`schedule_id`, `Reserve`.`cast_id`, `Reserve`.`start`, `Reserve`.`end`, `Reserve`.`created`, `Reserve`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` LEFT JOIN `kir060294_testshop3`.`reserves` AS `Reserve` ON (`Reserve`.`schedule_id` = `Schedule`.`id` AND `Reserve`.`start` >= '2024-12-04 09:30:00' AND `Reserve`.`end` <= '2024-12-05 02:00:00') WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (`Schedule`.`status` = 'normal') AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 0 | 0 | 1 | maybe slow |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (`Schedule`.`status` = 'tentative') AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 23 | 23 | 1 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (`Schedule`.`status` = 'waitingList') AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 0 | 0 | 1 | maybe slow |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (`Schedule`.`status` = 'soldOut') AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 0 | 0 | 1 | maybe slow |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (((`Schedule`.`status` = 'closed') OR (`Schedule`.`end` > '2024-12-04 02:45:52'))) AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 23 | 23 | 1 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop3`.`schedules` AS `Schedule` WHERE ((NOT (`Schedule`.`cast_id` IS NULL)) AND (`Schedule`.`status` = 'absence') AND (`Schedule`.`start` >= '2024-12-04 09:30:00') AND (`Schedule`.`end` <= '2024-12-05 02:00:00')) ORDER BY `Schedule`.`start` asc | 0 | 0 | 1 | maybe slow |
SELECT `Cast`.`id`, `Cast`.`group_id`, `Cast`.`display_flag`, `Cast`.`name`, `Cast`.`age`, `Cast`.`height`, `Cast`.`bust`, `Cast`.`cup`, `Cast`.`waist`, `Cast`.`hip`, `Cast`.`image_kind`, `Cast`.`real_time_information_flag`, `Cast`.`real_time_information_title`, `Cast`.`real_time_information_comment`, `Cast`.`real_time_information_number`, `Cast`.`delivery_flag`, `Cast`.`meet_up_flag`, `Cast`.`comment`, `Cast`.`heaven_id`, `Cast`.`heaven_password`, `Cast`.`extra_charge`, `Cast`.`dummy_flag`, `Cast`.`number`, `Cast`.`created`, `Cast`.`modified`, `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified`, `Reserve`.`id`, `Reserve`.`schedule_id`, `Reserve`.`cast_id`, `Reserve`.`start`, `Reserve`.`end`, `Reserve`.`created`, `Reserve`.`modified` FROM `kir060294_testshop3`.`casts` AS `Cast` LEFT JOIN `kir060294_testshop3`.`schedules` AS `Schedule` ON (`Schedule`.`cast_id` = `Cast`.`id`) LEFT JOIN `kir060294_testshop3`.`reserves` AS `Reserve` ON (`Reserve`.`cast_id` = `Cast`.`id` AND `Reserve`.`start` >= '2024-12-04 09:30:00' AND `Reserve`.`end` <= '2024-12-05 02:00:00') WHERE `Cast`.`display_flag` = '1' AND `Schedule`.`start` >= '2024-12-04 09:30:00' AND `Schedule`.`end` <= '2024-12-05 02:00:00' ORDER BY FIELD(`Cast`.`id`,697,723,696,459,507,596,549,560,550,14,476,559,631,670,180,686,341,614,571,5,480,668,682) ASC LIMIT 20 | 20 | 20 | 3 | maybe slow |
SELECT `CastImage`.`id`, `CastImage`.`cast_id`, `CastImage`.`display_flag`, `CastImage`.`file_name`, `CastImage`.`number` FROM `kir060294_testshop3`.`cast_images` AS `CastImage` WHERE `CastImage`.`display_flag` = '1' AND `CastImage`.`cast_id` IN (697, 723, 696, 459, 507, 596, 549, 560, 550, 14, 476, 559, 631, 670, 180, 686, 341, 614, 571, 5) ORDER BY `CastImage`.`number` asc | 59 | 59 | 1 | |
SELECT `HasOption`.`id`, `HasOption`.`cast_id`, `HasOption`.`option_id`, `HasOption`.`created` FROM `kir060294_testshop3`.`has_options` AS `HasOption` WHERE `HasOption`.`cast_id` IN (697, 723, 696, 459, 507, 596, 549, 560, 550, 14, 476, 559, 631, 670, 180, 686, 341, 614, 571, 5) | 137 | 137 | 1 | |
SELECT `HasType`.`id`, `HasType`.`type_id`, `HasType`.`cast_id`, `HasType`.`created`, `HasType`.`modified` FROM `kir060294_testshop3`.`has_types` AS `HasType` WHERE `HasType`.`cast_id` IN (697, 723, 696, 459, 507, 596, 549, 560, 550, 14, 476, 559, 631, 670, 180, 686, 341, 614, 571, 5) | 10 | 10 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop3`.`casts` AS `Cast` LEFT JOIN `kir060294_testshop3`.`schedules` AS `Schedule` ON (`Schedule`.`cast_id` = `Cast`.`id`) LEFT JOIN `kir060294_testshop3`.`reserves` AS `Reserve` ON (`Reserve`.`cast_id` = `Cast`.`id` AND `Reserve`.`start` >= '2024-12-04 09:30:00' AND `Reserve`.`end` <= '2024-12-05 02:00:00') WHERE `Cast`.`display_flag` = '1' AND `Schedule`.`start` >= '2024-12-04 09:30:00' AND `Schedule`.`end` <= '2024-12-05 02:00:00' | 1 | 1 | 2 | maybe slow |
SELECT `TopBanner`.`id`, `TopBanner`.`display_flag`, `TopBanner`.`src`, `TopBanner`.`alt`, `TopBanner`.`link`, `TopBanner`.`number`, `TopBanner`.`modified` FROM `kir060294_testshop3`.`top_banners` AS `TopBanner` WHERE `display_flag` = '1' ORDER BY `number` asc | 4 | 4 | 0 | |
SELECT `PhoneBanner`.`id`, `PhoneBanner`.`display_flag`, `PhoneBanner`.`image_kind`, `PhoneBanner`.`img`, `PhoneBanner`.`alt`, `PhoneBanner`.`link`, `PhoneBanner`.`blank`, `PhoneBanner`.`created`, `PhoneBanner`.`modified` FROM `kir060294_testshop3`.`phone_banners` AS `PhoneBanner` WHERE 1 = 1 LIMIT 1 | 0 | 0 | 0 | |
SELECT `FooterBanner`.`id`, `FooterBanner`.`display_flag_pc`, `FooterBanner`.`display_flag_mobile`, `FooterBanner`.`src_pc`, `FooterBanner`.`src_mobile`, `FooterBanner`.`alt`, `FooterBanner`.`link`, `FooterBanner`.`modified` FROM `kir060294_testshop3`.`footer_banners` AS `FooterBanner` WHERE 1 = 1 LIMIT 1 | 1 | 1 | 0 | |