Meta: What locals are saying about what's best in West Chester, PA
[0.00032901763916016] Connecting to MySQL server
[0.00060486793518066] SELECT * FROM countries ORDER BY country_name ASC
[0.031252145767212] 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 ('2')) 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.0021159648895264] 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 = '253' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00086593627929688] 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 = '4' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00056910514831543] 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 = '255' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.0010640621185303] 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 = '133' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00058984756469727] 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 = '218' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00069189071655273] 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 = '254' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00086593627929688] 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 = '2' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.0006861686706543] 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 = '3' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.00082302093505859] 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 = '9' AND r.location_id = '2' AND r.total > 0 ORDER BY r.total DESC, r.rs_id ASC LIMIT 0,4
[0.0011448860168457] 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 -75.9054882 AND -75.3054882 AND l.latitude BETWEEN 39.6606643 AND 40.2606643
[0.0036759376525879] 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 ('1812','1848','1850','4588','4590','4592','4593','4594','4597','4603','4607','4612','4613','4615','4616','4619','4620','4622','4623','4624','4625','4626','4628','4630','4631','4632','4633','4634','4636','4637','4638','4639','4640','4643','4644','4645','4650','4651','4652','4653','4654','4655','4656','4657','4658','4659','4660','4662','4663','4669','4671','4676','4678','4692','4717','4719','4725','4726','4727','25735','25737','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.00046205520629883] 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 = '4717'
[0.00038695335388184] 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 = '4727'
getting prod_location_west-chester,pa,united-states (apc)
getting prod_location_2 (apc)
getting prod_questions_starter_2, prod_questions_trending_2, prod_questions_newest_2 (apc)
getting prod_location_4637, prod_location_4639, prod_location_33590, prod_location_4717, prod_location_4727 (apc)
getting prod_location_4717 (apc)
setting prod_location_claymont,de,united-states (apc)
setting prod_location_4717 (apc)
getting prod_location_4727 (apc)
setting prod_location_wilmington,de,united-states (apc)
setting prod_location_4727 (apc)
getting prod_top5_users_2 (apc)
getting prod_location_closest_2 (apc)
getting prod_location_4655, prod_location_4650, prod_location_4634, prod_location_25737 (apc)
Login type: ;