Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `Setting`.`id`, `Setting`.`name`, `Setting`.`value`, `Setting`.`flag`, `Setting`.`number`, `Setting`.`modified` FROM `kir060294_testshop8`.`settings` AS `Setting` WHERE 1 = 1 | 32 | 32 | 1 | |
SELECT `Ranking`.`id`, `Ranking`.`display_flag`, `Ranking`.`title`, `Ranking`.`number`, `Ranking`.`created`, `Ranking`.`modified` FROM `kir060294_testshop8`.`rankings` AS `Ranking` WHERE `display_flag` = '1' ORDER BY `number` asc LIMIT 1 | 1 | 1 | 0 | |
SELECT `Ranker`.`cast_id`, `Ranker`.`rank`, `Ranker`.`ranking_id` FROM `kir060294_testshop8`.`rankers` AS `Ranker` WHERE `Ranker`.`ranking_id` = (1) ORDER BY `Ranker`.`rank` asc | 5 | 5 | 0 | |
SELECT `Option`.`id`, `Option`.`name` FROM `kir060294_testshop8`.`options` AS `Option` WHERE 1 = 1 | 11 | 11 | 0 | |
SELECT `Type`.`id`, `Type`.`name` FROM `kir060294_testshop8`.`types` AS `Type` WHERE `Type`.`display_flag` = '1' ORDER BY `number` asc | 19 | 19 | 0 | |
SELECT `Type`.`id`, `Type`.`background_color` FROM `kir060294_testshop8`.`types` AS `Type` WHERE `Type`.`display_flag` = '1' ORDER BY `number` asc | 19 | 19 | 0 | |
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`.`extra_charge`, `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_testshop8`.`casts` AS `Cast` LEFT JOIN `kir060294_testshop8`.`schedules` AS `Schedule` ON (`Schedule`.`cast_id` = `Cast`.`id` AND `Schedule`.`start` >= '2024-11-22 09:00:00' AND `Schedule`.`end` <= '2024-11-23 01:00:00') LEFT JOIN `kir060294_testshop8`.`reserves` AS `Reserve` ON (`Reserve`.`cast_id` = `Cast`.`id` AND `Reserve`.`start` >= '2024-11-22 09:00:00' AND `Reserve`.`end` <= '2024-11-23 01:00:00') WHERE `Cast`.`display_flag` = '1' ORDER BY `Cast`.`number` asc LIMIT 20 | 6 | 6 | 1 | maybe slow |
SELECT `CastImage`.`id`, `CastImage`.`cast_id`, `CastImage`.`display_flag`, `CastImage`.`file_name`, `CastImage`.`number` FROM `kir060294_testshop8`.`cast_images` AS `CastImage` WHERE `CastImage`.`display_flag` = '1' AND `CastImage`.`cast_id` IN (1, 3, 6, 2, 7, 4) ORDER BY `CastImage`.`number` asc | 10 | 10 | 0 | |
SELECT `HasOption`.`id`, `HasOption`.`cast_id`, `HasOption`.`option_id`, `HasOption`.`created` FROM `kir060294_testshop8`.`has_options` AS `HasOption` WHERE `HasOption`.`cast_id` IN (1, 3, 6, 2, 7, 4) | 9 | 9 | 0 | |
SELECT `HasType`.`id`, `HasType`.`type_id`, `HasType`.`cast_id`, `HasType`.`created`, `HasType`.`modified` FROM `kir060294_testshop8`.`has_types` AS `HasType` WHERE `HasType`.`cast_id` IN (1, 3, 6, 2, 7, 4) | 12 | 12 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 1 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 3 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 6 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 2 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 7 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT `Schedule`.`id`, `Schedule`.`cast_id`, `Schedule`.`start`, `Schedule`.`end`, `Schedule`.`absence`, `Schedule`.`sold_out`, `Schedule`.`status`, `Schedule`.`created`, `Schedule`.`modified` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`cast_id` = 4 AND `Schedule`.`start` > '2024-11-22 18:56:39' ORDER BY `Schedule`.`start` asc LIMIT 1 | 0 | 0 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-23 09:00:00' AND `Schedule`.`end` <= '2024-11-24 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-24 09:00:00' AND `Schedule`.`end` <= '2024-11-25 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-25 09:00:00' AND `Schedule`.`end` <= '2024-11-26 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-26 09:00:00' AND `Schedule`.`end` <= '2024-11-27 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-27 09:00:00' AND `Schedule`.`end` <= '2024-11-28 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-28 09:00:00' AND `Schedule`.`end` <= '2024-11-29 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-29 09:00:00' AND `Schedule`.`end` <= '2024-11-30 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-11-30 09:00:00' AND `Schedule`.`end` <= '2024-12-01 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-01 09:00:00' AND `Schedule`.`end` <= '2024-12-02 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-02 09:00:00' AND `Schedule`.`end` <= '2024-12-03 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-03 09:00:00' AND `Schedule`.`end` <= '2024-12-04 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-04 09:00:00' AND `Schedule`.`end` <= '2024-12-05 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-05 09:00:00' AND `Schedule`.`end` <= '2024-12-06 01:00:00' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `kir060294_testshop8`.`schedules` AS `Schedule` WHERE `Schedule`.`start` >= '2024-12-06 09:00:00' AND `Schedule`.`end` <= '2024-12-07 01:00:00' | 1 | 1 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop8`.`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_testshop8`.`prices` AS `Price` WHERE `parent_id` = 1 AND `display_flag` = '1' ORDER BY `number` asc | 11 | 11 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop8`.`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_testshop8`.`prices` AS `Price` WHERE `parent_id` = 2 AND `display_flag` = '1' ORDER BY `number` asc | 10 | 10 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop8`.`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_testshop8`.`prices` AS `Price` WHERE `parent_id` = 3 AND `display_flag` = '1' ORDER BY `number` asc | 2 | 2 | 0 | |
SELECT `Price`.`id`, `Price`.`value`, `Price`.`number` FROM `kir060294_testshop8`.`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_testshop8`.`prices` AS `Price` WHERE `parent_id` = 29 AND `display_flag` = '1' ORDER BY `number` asc | 1 | 1 | 0 | |