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.1009
3 SELECT MAX(qa_id) FROM lele_question_and_answer 0.1005
4 SELECT * FROM lele_question_and_answer WHERE qa_id >= 1 ORDER BY qa_id ASC LIMIT 1 0.1082
5 SELECT * FROM 3w_meta WHERE meta_langId='' LIMIT 1 0.1005
6 SELECT config_value FROM 3w_config WHERE config_title = 'site_logo' 0.1006
7 SELECT * FROM 3w_banner_position WHERE bp_isactive=1 ORDER BY bp_id ASC 0.1008
8 SELECT * FROM 3w_banner WHERE b_positionId=1 ORDER BY RAND() LIMIT 1 0.0542
9 SELECT * FROM 3w_banner WHERE b_positionId=2 ORDER BY RAND() LIMIT 1 0.0248
10 SELECT * FROM 3w_banner WHERE b_positionId=3 ORDER BY RAND() LIMIT 1 0.0126
11 SELECT * FROM 3w_banner WHERE b_positionId=3 ORDER BY RAND() LIMIT 1 0.0233
12 SELECT * FROM `3w_manufacturers` WHERE `is_active`='1' AND logo IS NOT NULL AND logo<>'' ORDER BY `show_order` desc, `name` DESC 0.1369
13 SELECT * FROM 3w_menu_positions WHERE is_active = '1' 0.0205
14 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.0149
15 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.0277
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 = 3 ORDER BY m.menu_order DESC 0.0195
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 = 4 ORDER BY m.menu_order DESC 0.007
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 = 5 ORDER BY m.menu_order DESC 0.0009
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 = 6 ORDER BY m.menu_order DESC 0.0006
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 = 7 ORDER BY m.menu_order DESC 0.0003
21 SELECT * FROM 3w_offers WHERE id=1396 AND is_expired=0 LIMIT 1 0.0077
22 SELECT * FROM 3w_offer_values WHERE offer_id=1396 0.0165
23 SELECT name FROM 3w_offer_params WHERE id=8 LIMIT 1 0.0193
24 SELECT value FROM 3w_offer_param_values WHERE id='85' LIMIT 1 0.0002
25 SELECT * FROM 3w_offer_images WHERE offer_id=1396 0.0584
26 UPDATE 3w_offers SET views_cnt=views_cnt+1 WHERE id=1396 LIMIT 1 0.0787
27 SELECT city FROM 3w_cities WHERE id=41 LIMIT 1 0.0226
28 SELECT * FROM 3w_offer_categories WHERE id=3 LIMIT 1 0.0001
29 SELECT COUNT(*) FROM `3w_comments` WHERE object_id = '1396' AND comment_type = '8' 9.5813
30 SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query 9.5813
- - All Queries Time 20.3209


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