SHOW FULL COLUMNS FROM `website_domains` [ RunTime:0.001745s ]
SELECT * FROM `website_domains` WHERE `domain` = 'yksgj.cn' LIMIT 1 [ RunTime:0.001171s ]
SHOW FULL COLUMNS FROM `websites` [ RunTime:0.001640s ]
SELECT * FROM `websites` WHERE `id` = 51 AND `status` = 1 AND `deleted_at` IS NULL LIMIT 1 [ RunTime:0.001140s ]
SHOW FULL COLUMNS FROM `website_templates` [ RunTime:0.001541s ]
SELECT * FROM `website_templates` WHERE `id` = 47 AND `status` = 1 AND `deleted_at` IS NULL LIMIT 1 [ RunTime:0.001067s ]
SHOW FULL COLUMNS FROM `website_slot_bindings` [ RunTime:0.001478s ]
SELECT `b`.*,c.name collection_name,`c`.`table_suffix`,`c`.`physical_table` FROM `website_slot_bindings` `b` LEFT JOIN `data_collections` `c` ON `c`.`id`=`b`.`collection_id` WHERE `b`.`site_id` = '51' ORDER BY `b`.`id` [ RunTime:0.001101s ]
SHOW FULL COLUMNS FROM `website_data_source_overrides` [ RunTime:0.001402s ]
SELECT * FROM `website_data_source_overrides` WHERE `site_id` = 51 AND `status` = 1 ORDER BY `id` [ RunTime:0.000970s ]
SHOW FULL COLUMNS FROM `data_collections` [ RunTime:0.001500s ]
SELECT `id` FROM `data_collections` WHERE `collection_code` = 'bdcaigou' AND `deleted_at` IS NULL AND `status` = 1 LIMIT 1 [ RunTime:0.000900s ]
SELECT * FROM `data_collections` WHERE `id` = 34 AND `deleted_at` IS NULL AND `status` = 1 LIMIT 1 [ RunTime:0.000928s ]
SHOW FULL COLUMNS FROM `data_set_fields` [ RunTime:0.001546s ]
SELECT * FROM `data_set_fields` WHERE `collection_id` = 34 ORDER BY `sort_order`,`id` [ RunTime:0.001386s ]
SHOW FULL COLUMNS FROM `website_data_visibilities` [ RunTime:0.001463s ]
SELECT * FROM `website_data_visibilities` WHERE `site_id` = 51 AND `source_alias` = 'caigou' LIMIT 1 [ RunTime:0.000928s ]
SELECT `id` FROM `data_collections` WHERE `collection_code` = 'shop_jd' AND `deleted_at` IS NULL AND `status` = 1 LIMIT 1 [ RunTime:0.000888s ]
SELECT * FROM `data_collections` WHERE `id` = 25 AND `deleted_at` IS NULL AND `status` = 1 LIMIT 1 [ RunTime:0.000924s ]
SELECT * FROM `data_set_fields` WHERE `collection_id` = 25 ORDER BY `sort_order`,`id` [ RunTime:0.001233s ]
SELECT * FROM `website_data_visibilities` WHERE `site_id` = 51 AND `source_alias` = 'goods' LIMIT 1 [ RunTime:0.000895s ]
SHOW FULL COLUMNS FROM `website_documents` [ RunTime:0.001534s ]
SELECT * FROM `website_documents` WHERE `site_id` = 51 AND `deleted_at` IS NULL AND `status` = 1 ORDER BY `sort_order` ASC,`id` ASC [ RunTime:0.001117s ]
SHOW FULL COLUMNS FROM `system_settings` [ RunTime:0.001363s ]
SELECT * FROM `system_settings` WHERE `setting_key` = 'content_search_engine' LIMIT 1 [ RunTime:0.000868s ]
SELECT * FROM `system_settings` WHERE `setting_key` = 'content_search_engine' LIMIT 1 [ RunTime:0.000861s ]
SELECT * FROM `system_settings` WHERE `setting_key` = 'content_search_engine' LIMIT 1 [ RunTime:0.000858s ]
CREATE TABLE IF NOT EXISTS `content_search_logs` (
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`operation` VARCHAR(64) NOT NULL DEFAULT '',
`entry_path` VARCHAR(255) NOT NULL DEFAULT '',
`source` VARCHAR(128) NOT NULL DEFAULT '',
`index_uid` VARCHAR(128) NOT NULL DEFAULT '',
`collection_code` VARCHAR(64) NOT NULL DEFAULT '',
`keyword` VARCHAR(255) NOT NULL DEFAULT '',
`filter_expr` VARCHAR(1000) NOT NULL DEFAULT '',
`sort_expr` VARCHAR(255) NOT NULL DEFAULT '',
`method` VARCHAR(12) NOT NULL DEFAULT '',
`path` VARCHAR(255) NOT NULL DEFAULT '',
`status_code` INT NOT NULL DEFAULT 0,
`duration_ms` INT NOT NULL DEFAULT 0,
`result_count` INT NULL,
`total_hits` INT NULL,
`error_message` VARCHAR(1000) NULL,
`created_at` DATETIME NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_created` (`created_at`),
KEY `idx_collection_created` (`collection_code`, `created_at`),
KEY `idx_operation_created` (`operation`, `created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci [ RunTime:0.028817s ]
SHOW COLUMNS FROM `content_search_logs` LIKE 'entry_path' [ RunTime:0.001366s ]
SHOW FULL COLUMNS FROM `content_search_logs` [ RunTime:0.001393s ]