Meta: What locals are saying about what's best in Greater West Chester, PA
[0.00029706954956055] Connecting to MySQL server
[0.00054407119750977] SELECT * FROM countries ORDER BY country_name ASC
[0.0007469654083252] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE state = 'pa' AND slug = 'greater-west-chester' AND c.country_slug = 'united-states'
[0.0014560222625732] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` , `g`.`username` , `g`.`last_name` , `g`.`first_name` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('25737')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) LEFT JOIN `users` AS `g` ON (`g`.`user_id` = `d`.`user_id`) LEFT JOIN `responses` AS `h` ON (`h`.`question_id` = `d`.`question_id` AND `h`.`location_id` = `d`.`location_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) GROUP BY `a`.`question_id` ORDER BY `d`.`answers` DESC LIMIT 0, 10
[0.00083494186401367] SELECT r.text, r.text_slug, r.total, p.comments, p.place_id, r.question_id, r.location_id FROM responses_summary r LEFT JOIN places p ON p.location_id = r.location_id AND p.place_slug = r.text_slug WHERE r.question_id = '49' AND r.location_id = '25737' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.0005650520324707] SELECT r.text, r.text_slug, r.total, p.comments, p.place_id, r.question_id, r.location_id FROM responses_summary r LEFT JOIN places p ON p.location_id = r.location_id AND p.place_slug = r.text_slug WHERE r.question_id = '145' AND r.location_id = '25737' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00079488754272461] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` , `g`.`username` , `g`.`last_name` , `g`.`first_name` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('25737')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) LEFT JOIN `users` AS `g` ON (`g`.`user_id` = `d`.`user_id`) LEFT JOIN `responses` AS `h` ON (`h`.`question_id` = `d`.`question_id` AND `h`.`location_id` = `d`.`location_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) GROUP BY `a`.`question_id` ORDER BY `d`.`answers` DESC LIMIT 0, 6
[0.0006101131439209] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` , `g`.`username` , `g`.`last_name` , `g`.`first_name` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('25737')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) LEFT JOIN `users` AS `g` ON (`g`.`user_id` = `d`.`user_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) ORDER BY `d`.`ql_id` DESC LIMIT 0, 6
[0.0058679580688477] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('25737')) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NULL )
[0.0088539123535156] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE l.status IN ('new','pending','validated') AND l.longitude BETWEEN -76.0003854 AND -75.4003854 AND l.latitude BETWEEN 39.6664427 AND 40.2664427
[0.0056619644165039] SELECT `a`.* , `b`.`subject` , `c`.`prefix` , `d`.`answers` , `d`.`location_id` , `d`.`ql_id` FROM `questions` AS `a` LEFT JOIN `questions_subject` AS `b` ON (`b`.`qs_id` = `a`.`subject_id`) LEFT JOIN `questions_prefix` AS `c` ON (`c`.`qp_id` = `a`.`prefix_id`) LEFT JOIN `questions_location` AS `d` ON (`d`.`question_id` = `a`.`question_id` AND `d`.`location_id` IN ('2','4204','4594','4616','4630','4631','4632','4633','4634','4635','4636','4637','4638','4639','4640','4642','4643','4644','4645','4646','4649','4650','4651','4652','4653','4654','4655','4659','4662','4669','4671','4676','4678','4692','4703','4717','4719','4725','4726','4727','25735','25738','33589','33590')) LEFT JOIN `locations` AS `e` ON (`e`.`location_id` = `d`.`location_id`) LEFT JOIN `states` AS `f` ON (`f`.`state_id` = `e`.`state_id`) WHERE (`a`.`status` IN ('new','open') AND `d`.`ql_id` IS NOT NULL AND (`f`.`country_id` IN ('1') OR `d`.`ql_id` IS NULL )) ORDER BY `d`.`ql_id` DESC , RAND() LIMIT 0, 6
[0.00017404556274414] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '2'
[0.00080394744873047] SELECT user_id, username, first_name, last_name, profile_pic, questions, answers FROM users WHERE default_location IN ('25737') AND answers > 0 ORDER BY answers DESC LIMIT 0, 5
[0.00081300735473633] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE l.status IN ('new','pending','validated') AND l.longitude BETWEEN -76.0003854 AND -75.4003854 AND l.latitude BETWEEN 39.6664427 AND 40.2664427
[0.0028870105743408] SELECT location_id, COUNT(response_id) AS activity FROM responses WHERE location_id IN ('2','4594','4630','4631','4632','4633','4634','4635','4637','4638','4639','4640','4642','4643','4644','4645','4649','4650','4651','4652','4653','4654','4655','4662','4671','4678','4692','4719','4725','4726','25735','25738','33589','33590') AND date_answered > '2013-05-11 21:39:41' GROUP BY location_id ORDER BY activity DESC LIMIT 5
[0.00017595291137695] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4637'
[0.00053906440734863] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4651'
[0.00039315223693848] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4645'
[0.00025701522827148] SELECT * FROM locations l LEFT JOIN states s ON s.state_id = l.state_id LEFT JOIN countries c ON c.country_id = s.country_id WHERE location_id = '4639'
getting prod_location_greater-west-chester,pa,united-states (apc)
setting prod_location_greater-west-chester,pa,united-states (apc)
setting prod_location_25737 (apc)
getting prod_questions_starter_25737, prod_questions_trending_25737, prod_questions_newest_25737 (apc)
getting prod_questions_trending_25737 (apc)
setting prod_questions_trending_25737 (apc)
getting prod_questions_newest_25737 (apc)
setting prod_questions_newest_25737 (apc)
setting prod_questions_starter_25737 (apc)
getting prod_location_2 (apc)
getting prod_location_2 (apc)
setting prod_location_west-chester,pa,united-states (apc)
setting prod_location_2 (apc)
getting prod_top5_users_25737 (apc)
setting prod_top5_users_25737 (apc)
getting prod_location_closest_25737 (apc)
setting prod_location_closest_25737 (apc)
getting prod_location_4637, prod_location_4651, prod_location_4645, prod_location_4639 (apc)
getting prod_location_4637 (apc)
setting prod_location_downingtown,pa,united-states (apc)
setting prod_location_4637 (apc)
getting prod_location_4651 (apc)
setting prod_location_thorndale,pa,united-states (apc)
setting prod_location_4651 (apc)
getting prod_location_4645 (apc)
setting prod_location_modena,pa,united-states (apc)
setting prod_location_4645 (apc)
getting prod_location_4639 (apc)
setting prod_location_exton,pa,united-states (apc)
setting prod_location_4639 (apc)
Login type: ;