SELECT * FROM cl_configs0.00070405006408691Всего 0.00070405006408691 секMysqliDb->get() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/tools.php" line #1406
SELECT * FROM cl_ui_langs WHERE status = '1' 0.00016999244689941Всего 0.00087404251098633 секMysqliDb->get() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #1659
SELECT
u.id,
u.username,
u.avatar,
u.followers,
u.posts,
u.following,
u.country_id,
u.website,
u.about,
u.last_active,
u.is_online,
u.fname,
u.lname,
u.email,
u.verified,
u.follow_privacy
FROM cl_users u
WHERE u.active = '1' AND u.id != 0
ORDER BY u.followers DESC, u.posts DESC
LIMIT 50.00623798370361328Всего 0.0071120262145996 секMysqliDb->rawQuery() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #1005
SELECT
h.id,
h.tag,
h.posts,
COUNT(DISTINCT p.user_id) AS unique_users,
COUNT(*) AS posts_count,
MAX(ph.time) AS last_activity
FROM cl_hashtags h
JOIN cl_publications_hashtags ph
ON ph.hashtag_id = h.id
JOIN cl_publications p
ON p.id = ph.publication_id
WHERE CHAR_LENGTH(h.tag) >= 2
AND ph.time >= NOW() - INTERVAL 7 DAY
GROUP BY h.id
HAVING unique_users >= 1
ORDER BY unique_users DESC, last_activity DESC
LIMIT 15;
0.11034512519836426Всего 0.11745715141296 секMysqliDb->rawQuery() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/post.php" line #385
SELECT id FROM cl_users WHERE username = 'stasyandrik' LIMIT 10.00368595123291016Всего 0.12114310264587 секMysqliDb->getOne() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #671
SELECT * FROM cl_users WHERE id = '4746' LIMIT 10.00043416023254395Всего 0.12157726287842 секMysqliDb->getOne() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #230
SELECT * FROM cl_users WHERE id = '4746' LIMIT 10.00046396255493164Всего 0.12204122543335 секMysqliDb->getOne() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #357
SELECT * FROM cl_publications WHERE user_id = '4746' AND profile_pinned = 'Y' LIMIT 10.00029993057250977Всего 0.12234115600586 секMysqliDb->getOne() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/apps/profile/app_ctrl.php" line #128
SELECT posts.`id` as offset_id, posts.`publication_id`, posts.`type`, posts.`user_id`, posts.`time` FROM `cl_posts` posts
INNER JOIN `cl_publications` pubs ON posts.`publication_id` = pubs.`id`
WHERE posts.`user_id` = 4746
AND pubs.`profile_pinned` = "N"
AND pubs.`type` IN ('video','image','gif', 'audio')
ORDER BY posts.`id` DESC
LIMIT 15;
0.00028204917907715Всего 0.12262320518494 секMysqliDb->rawQuery() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/apps/profile/app_ctrl.php" line #37