MySQL Debugger Results
Count SQL query Time to execute
1 SELECT config_value FROM 3w_config WHERE config_title = 'default_lang' 0.0001
2 SELECT rule_power FROM 3w_access_rules WHERE rule_section=:section AND rule_package=:package AND rule_controller=:controller AND rule_action=:action LIMIT 1 0.0002
3 SELECT MAX(qa_id) FROM lele_question_and_answer 0.0003
4 SELECT * FROM lele_question_and_answer WHERE qa_id >= 1 ORDER BY qa_id ASC LIMIT 1 0.0001
5 SELECT * FROM 3w_meta WHERE meta_langId='' LIMIT 1 0.0001
6 SELECT config_value FROM 3w_config WHERE config_title = 'site_logo' 0.0001
7 SELECT * FROM 3w_banner_position WHERE bp_isactive=1 ORDER BY bp_id ASC 0.0001
8 SELECT * FROM 3w_banner WHERE b_positionId=1 ORDER BY RAND() LIMIT 1 0.0005
9 SELECT * FROM 3w_banner WHERE b_positionId=2 ORDER BY RAND() LIMIT 1 0.0003
10 SELECT * FROM 3w_banner WHERE b_positionId=3 ORDER BY RAND() LIMIT 1 0.0003
11 SELECT * FROM 3w_banner WHERE b_positionId=3 ORDER BY RAND() LIMIT 1 0.0004
12 SELECT * FROM `3w_manufacturers` WHERE `is_active`='1' AND logo IS NOT NULL AND logo<>'' ORDER BY `show_order` desc, `name` DESC 0.0015
13 SELECT member_id FROM lele_members ORDER BY member_id DESC LIMIT 1 0.0001
14 SELECT m.*, p.pp_main_photo, p.avatar_location, (SELECT COUNT(friends_id) FROM lele_profile_friends AS pf WHERE pf.friends_member_id=m.member_id AND pf.friends_approved=1) AS friends_cnt, (SELECT COUNT(like_id) FROM lele_core_like AS cl WHERE cl.like_member_id=m.member_id) AS likes_cnt FROM lele_members AS m, lele_profile_portal AS p WHERE p.pp_member_id=m.member_id AND m.member_id IN (209, 14993, 77335, 1839, 35252, 46988, 60947, 64040, 30074, 27084, 51638, 81977, 57396, 67896, 34855) ORDER BY m.member_id DESC LIMIT 15 0.0535
15 SELECT * FROM 3w_menu_positions WHERE is_active = '1' 0.0001
16 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 1 ORDER BY m.menu_order DESC 0.0001
17 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 2 ORDER BY m.menu_order DESC 0.0001
18 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 3 ORDER BY m.menu_order DESC 0.0001
19 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 4 ORDER BY m.menu_order DESC 0.0001
20 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 5 ORDER BY m.menu_order DESC 0.0001
21 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 6 ORDER BY m.menu_order DESC 0.0001
22 SELECT m.*, ml.menu_name, r.route_seo_url FROM 3w_menus AS m LEFT JOIN 3w_menu_lang AS ml ON (ml.menu_id=m.menu_id AND ml.lang_id=1) LEFT JOIN 3w_route r ON m.menu_routeId=r.id WHERE m.menu_isactive=1 AND m.menu_position_id = 7 ORDER BY m.menu_order DESC 0.0001
23 SELECT COUNT(*) FROM lele_posts p LEFT JOIN ipb_topics t ON p.topic_id = t.tid WHERE p.author_id = 2059 AND t.forum_id NOT IN (38, 102) 0.0002
24 SELECT p.*, t.title FROM lele_posts p LEFT JOIN ipb_topics t ON p.topic_id = t.tid WHERE p.author_id = 2059 AND t.forum_id NOT IN (38, 102) ORDER BY p.pid DESC LIMIT 0, 10 10.7303
25 SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query 10.7303
- - All Queries Time 21.5192


A database error has occured. Please, try again later!