1 | 10:42:51.273 | 62.5 ms | SELECT | SELECT * FROM `content_block_lang` WHERE (`lang`='ru') AND (`owner_id`=9) |
2 | 10:42:51.079 | 20.2 ms | SELECT | SELECT * FROM `content_block` WHERE (`id`=9) AND (`is_active`=1) |
3 | 10:42:51.223 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `content_block` |
4 | 10:42:51.226 | 1.2 ms | SELECT | SELECT
kcu.constraint_name,
kcu.column_name,
kcu.referenced_table_name,
kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
(
kcu.constraint_catalog = rc.constraint_catalog OR
(kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
) AND
kcu.constraint_schema = rc.constraint_schema AND
kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'content_block' AND kcu.table_name = 'content_block' |
5 | 10:42:51.267 | 1.1 ms | SHOW | SHOW FULL COLUMNS FROM `content_block_lang` |
6 | 10:42:51.268 | 0.7 ms | SELECT | SELECT
kcu.constraint_name,
kcu.column_name,
kcu.referenced_table_name,
kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
(
kcu.constraint_catalog = rc.constraint_catalog OR
(kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
) AND
kcu.constraint_schema = rc.constraint_schema AND
kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'content_block_lang' AND kcu.table_name = 'content_block_lang' |