Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `StaticPage`.`slug` FROM `demoe3_getezquotes`.`static_pages` AS `StaticPage` WHERE 1 = 1 | 30 | 30 | 0 | |
SELECT `Country`.`slug` FROM `demoe3_getezquotes`.`countries` AS `Country` WHERE 1 = 1 | 15 | 15 | 0 | |
SELECT `Country`.`slug`, `Country`.`name`, `Country`.`id`, `Country`.`timezone` FROM `demoe3_getezquotes`.`countries` AS `Country` WHERE `is_default` = 1 ORDER BY `country_order` ASC, `name` ASC LIMIT 1 | 1 | 1 | 0 | |
SELECT `CurrencyCountry`.`currency_id`, `Currency`.`exchange_rate`, `Currency`.`code`, `Currency`.`symbol_postions` FROM `demoe3_getezquotes`.`currency_countries` AS `CurrencyCountry` LEFT JOIN `demoe3_getezquotes`.`currencies` AS `Currency` ON (`CurrencyCountry`.`currency_id` = `Currency`.`id`) WHERE `CurrencyCountry`.`country_id` = 2 LIMIT 1 | 1 | 1 | 0 | |
SELECT `ServiceProvider`.`id`, `ServiceProvider`.`session_id`, `ServiceProvider`.`facebook_id`, `ServiceProvider`.`google_id`, `ServiceProvider`.`twitter_id`, `ServiceProvider`.`auth_type`, `ServiceProvider`.`first_name`, `ServiceProvider`.`last_name`, `ServiceProvider`.`email`, `ServiceProvider`.`username`, `ServiceProvider`.`show_name`, `ServiceProvider`.`password`, `ServiceProvider`.`contact_number`, `ServiceProvider`.`address`, `ServiceProvider`.`country_id`, `ServiceProvider`.`state_id`, `ServiceProvider`.`city_id`, `ServiceProvider`.`activation_key`, `ServiceProvider`.`email_token`, `ServiceProvider`.`email_token_exp`, `ServiceProvider`.`user_type`, `ServiceProvider`.`user_group_id`, `ServiceProvider`.`status`, `ServiceProvider`.`encrypted_user_key`, `ServiceProvider`.`business_name`, `ServiceProvider`.`business_description`, `ServiceProvider`.`website`, `ServiceProvider`.`logo`, `ServiceProvider`.`profile_image`, `ServiceProvider`.`background_profile_image`, `ServiceProvider`.`receive_deal_notification`, `ServiceProvider`.`allow_psps_contact_regarding_financing`, `ServiceProvider`.`deal_services`, `ServiceProvider`.`service_area`, `ServiceProvider`.`trade`, `ServiceProvider`.`license`, `ServiceProvider`.`expiration`, `ServiceProvider`.`business_since`, `ServiceProvider`.`helpful_information`, `ServiceProvider`.`emergency_service_charges`, `ServiceProvider`.`service_provider_type_id`, `ServiceProvider`.`have_worker_compensation_insurance`, `ServiceProvider`.`worker_compensation_insurance_expiry`, `ServiceProvider`.`have_public_liability_insurance`, `ServiceProvider`.`public_liability_insurance_expiry`, `ServiceProvider`.`is_blocked`, `ServiceProvider`.`is_deleted`, `ServiceProvider`.`user_ip`, `ServiceProvider`.`profile_completed`, `ServiceProvider`.`is_apporoved`, `ServiceProvider`.`is_notify_me`, `ServiceProvider`.`is_show_contact_info`, `ServiceProvider`.`is_featured`, `ServiceProvider`.`is_psps`, `ServiceProvider`.`is_first`, `ServiceProvider`.`is_unethical`, `ServiceProvider`.`psps_rating`, `ServiceProvider`.`average_response_time`, `ServiceProvider`.`last_login`, `ServiceProvider`.`account_disable_email`, `ServiceProvider`.`is_online`, `ServiceProvider`.`created`, `ServiceProvider`.`modified`, (SELECT GROUP_CONCAT(`categories`.`name` SEPARATOR ', ') FROM user_industries LEFT JOIN categories ON `user_industries`.`category_id`=`categories`.`id` WHERE user_id = `ServiceProvider`.`id`) AS `ServiceProvider__industry`, (SELECT GROUP_CONCAT(`categories`.`name` SEPARATOR ', ') FROM user_categories LEFT JOIN categories ON `user_categories`.`category_id`=`categories`.`id` WHERE user_id = `ServiceProvider`.`id`) AS `ServiceProvider__user_categories`, (SELECT GROUP_CONCAT(`payment_methods`.`name` SEPARATOR ', ') FROM user_payment_methods LEFT JOIN payment_methods ON `user_payment_methods`.`payment_method_id`=`payment_methods`.`id` WHERE user_id = `ServiceProvider`.`id` ) AS `ServiceProvider__user_payment_methods`, (SELECT name FROM countries where id = `ServiceProvider`.`country_id` ) AS `ServiceProvider__country`, (SELECT name FROM cities where id = `ServiceProvider`.`city_id` ) AS `ServiceProvider__city`, (SELECT IFNULL(ROUND(AVG(`user_reviews`.`overall_rating`)), 0) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND service_provider_id = `ServiceProvider`.`id` AND review_for='service_provider' AND `user_reviews`.`overall_rating` IS NOT NULL) AS `ServiceProvider__user_reviews`, (SELECT count(`user_reviews`.`id`) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND service_provider_id = `ServiceProvider`.`id` AND `user_reviews`.`parent_id`=0 AND review_for='service_provider') AS `ServiceProvider__nu_of_reviews`, (SELECT count(`project_quotes`.`id`) FROM project_quotes WHERE quote_status =1 AND psps_id = `ServiceProvider`.`id`) AS `ServiceProvider__project_awarded`, (SELECT count(`psps_photos_deals`.`id`) FROM psps_photos_deals WHERE is_deal = 1 and user_id = `ServiceProvider`.`id` AND deal_status = 'accepted') AS `ServiceProvider__user_deals`, (select status from user_current_plans where `user_current_plans`.`user_id` = `ServiceProvider`.`id` ORDER BY `user_current_plans`.`created` DESC limit 1) AS `ServiceProvider__plan_status`, (select count(`user_categories`.`id`) from user_categories where `user_categories`.`user_id` = `ServiceProvider`.`id` AND `user_categories`.`allow_hourly_rate` = 1) AS `ServiceProvider__allow_hourly_rate`, (select send_invoice from user_current_plans where `user_current_plans`.`user_id` = `ServiceProvider`.`id` AND is_expired =0 ORDER BY `user_current_plans`.`created` DESC limit 1) AS `ServiceProvider__basic_fixed_plan` FROM `demoe3_getezquotes`.`users` AS `ServiceProvider` WHERE `ServiceProvider`.`user_type` = 'service-provider' AND ((`is_blocked` = 0) AND (`is_deleted` = 0) AND (`is_apporoved` = 1) AND (`status` = 1) AND (`activation_key` = '')) AND `ServiceProvider`.`country_id` = 2 AND (select status from user_current_plans where `user_current_plans`.`user_id` = `ServiceProvider`.`id` ORDER BY `user_current_plans`.`created` DESC limit 1) != '' AND `ServiceProvider`.`username` = 'sp3' LIMIT 1 | 1 | 1 | 32 | maybe slow |
SELECT `UserCurrentPlan`.`id`, `UserCurrentPlan`.`user_id`, `UserCurrentPlan`.`user_purchased_plan_id`, `UserCurrentPlan`.`payment_id`, `UserCurrentPlan`.`subscription_id`, `UserCurrentPlan`.`subscription_variant_id`, `UserCurrentPlan`.`subscription_name`, `UserCurrentPlan`.`is_free_plan`, `UserCurrentPlan`.`is_unlimited_plan`, `UserCurrentPlan`.`start_date`, `UserCurrentPlan`.`end_date`, `UserCurrentPlan`.`plan_duration`, `UserCurrentPlan`.`plan_type`, `UserCurrentPlan`.`quote_per_month`, `UserCurrentPlan`.`sub_category_directory`, `UserCurrentPlan`.`portfolio_samples`, `UserCurrentPlan`.`send_invoice`, `UserCurrentPlan`.`admin_commission_percetage`, `UserCurrentPlan`.`plan_amount`, `UserCurrentPlan`.`status`, `UserCurrentPlan`.`is_expired`, `UserCurrentPlan`.`cron_last_checked`, `UserCurrentPlan`.`created`, `UserCurrentPlan`.`modified` FROM `demoe3_getezquotes`.`user_current_plans` AS `UserCurrentPlan` WHERE `UserCurrentPlan`.`is_expired` = 0 AND `UserCurrentPlan`.`user_id` = (16) ORDER BY `UserCurrentPlan`.`created` DESC | 1 | 1 | 0 | |
SELECT `UserPortfolio`.`id`, `UserPortfolio`.`user_id`, `UserPortfolio`.`title`, `UserPortfolio`.`portfolio`, `UserPortfolio`.`is_deleted`, `UserPortfolio`.`created`, `UserPortfolio`.`modified` FROM `demoe3_getezquotes`.`user_portfolios` AS `UserPortfolio` WHERE `UserPortfolio`.`is_deleted` = 0 AND `UserPortfolio`.`user_id` = (16) ORDER BY `UserPortfolio`.`created` DESC | 0 | 0 | 26 | maybe slow |
SELECT `UserCategory`.`id`, `UserCategory`.`user_id`, `UserCategory`.`category_id`, `UserCategory`.`allow_hourly_rate`, `UserCategory`.`hourly_rate`, `UserCategory`.`local_currency_code`, `UserCategory`.`created`, `UserCategory`.`modified` FROM `demoe3_getezquotes`.`user_categories` AS `UserCategory` WHERE `UserCategory`.`user_id` = (16) | 4 | 4 | 0 | |
SELECT `Category`.`name` FROM `demoe3_getezquotes`.`categories` AS `Category` WHERE `Category`.`id` = 788 | 1 | 1 | 0 | |
SELECT `Category`.`name` FROM `demoe3_getezquotes`.`categories` AS `Category` WHERE `Category`.`id` = 777 | 1 | 1 | 0 | |
SELECT `Category`.`name` FROM `demoe3_getezquotes`.`categories` AS `Category` WHERE `Category`.`id` = 785 | 1 | 1 | 0 | |
SELECT `Category`.`name` FROM `demoe3_getezquotes`.`categories` AS `Category` WHERE `Category`.`id` = 365 | 1 | 1 | 0 | |
SELECT `UserPaymentMethod`.`id`, `UserPaymentMethod`.`payment_method_id`, `UserPaymentMethod`.`user_id`, `UserPaymentMethod`.`created`, `UserPaymentMethod`.`modified` FROM `demoe3_getezquotes`.`user_payment_methods` AS `UserPaymentMethod` WHERE `UserPaymentMethod`.`user_id` = (16) | 0 | 0 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`user_reviews` AS `UserReview` WHERE `UserReview`.`service_provider_id` = 16 AND `UserReview`.`user_id` IS NULL AND `UserReview`.`review_for` = 'service_provider' | 1 | 1 | 68 | maybe slow |
SELECT COUNT(`UserReview`.`project_id`) as total_projects, ROUND(`UserReview`.`overall_rating`) as overall_rating FROM `demoe3_getezquotes`.`user_reviews` AS `UserReview` WHERE `UserReview`.`service_provider_id` = 16 AND `UserReview`.`review_for` = 'service_provider' AND `UserReview`.`status` = 1 AND `UserReview`.`is_deleted` = 0 AND `UserReview`.`is_active` = 1 AND `UserReview`.`parent_id` = 0 GROUP BY ROUND(`UserReview`.`overall_rating`) | 0 | 0 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`user_reviews` AS `UserReview` WHERE `UserReview`.`service_provider_id` = 16 AND `UserReview`.`review_for` = 'service_provider' AND `UserReview`.`status` = 1 AND `UserReview`.`is_deleted` = 0 AND `UserReview`.`is_active` = 1 AND `UserReview`.`parent_id` = 0 | 1 | 1 | 0 | |
SELECT `UserReview`.`id`, `UserReview`.`user_id`, `UserReview`.`review`, `UserReview`.`overall_rating`, `UserReview`.`work_completed_date`, `UserReview`.`project_amount`, `UserReview`.`project_hire_status`, `UserReview`.`service_provider_id`, `UserReview`.`total_like_count`, `UserReview`.`total_unlike_count`, `UserReview`.`review_for`, `UserReview`.`created`, `User`.`id`, `User`.`first_name`, `User`.`last_name`, `User`.`username`, `User`.`show_name`, `User`.`profile_image`, `User`.`user_type`, `Project`.`id`, `Project`.`name`, `Project`.`show_name`, `Project`.`alias_name`, `Project`.`estimated_date`, `Project`.`completed_date`, `Project`.`award_date`, (SELECT review FROM user_reviews AS USER_REVIW_REPLY WHERE `USER_REVIW_REPLY`.`parent_id` = `UserReview`.`id`) AS `UserReview__review_reply`, (SELECT ROUND(AVG(`user_reviews`.`overall_rating`)) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND `user_reviews`.`review_for` = 'consumer' AND user_id = `UserReview`.`user_id`) AS `UserReview__consumer_avg_rating`, (SELECT count(`user_reviews`.`id`) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND `user_reviews`.`parent_id`=0 AND `user_reviews`.`review_for` = 'consumer' AND user_id = `UserReview`.`user_id`) AS `UserReview__consumer_nu_of_reviews`, (select count(`user_review_likes`.`id`) from user_review_likes where `user_review_likes`.`user_id` = 0 AND `user_review_likes`.`user_review_id`= `UserReview`.`id` AND `user_review_likes`.`like`=1 ) AS `UserReview__like_status`, (select count(`user_review_likes`.`id`) from user_review_likes where `user_review_likes`.`user_id` = 0 AND `user_review_likes`.`user_review_id`= `UserReview`.`id` AND `user_review_likes`.`unlike`=1 ) AS `UserReview__unlike_status` FROM `demoe3_getezquotes`.`user_reviews` AS `UserReview` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`UserReview`.`user_id` = `User`.`id`) LEFT JOIN `demoe3_getezquotes`.`projects` AS `Project` ON (`UserReview`.`project_id` = `Project`.`id`) WHERE `UserReview`.`service_provider_id` = 16 AND `UserReview`.`review_for` = 'service_provider' AND `UserReview`.`status` = 1 AND `UserReview`.`is_deleted` = 0 AND `UserReview`.`is_active` = 1 AND `UserReview`.`parent_id` = 0 ORDER BY `UserReview`.`id` DESC LIMIT 30 | 0 | 0 | 17 | maybe slow |
SELECT `Project`.`name`, `Project`.`description`, `Project`.`category_id`, `Project`.`show_name`, `Project`.`alias_name`, `ProjectOwner`.`first_name`, `ProjectOwner`.`last_name`, `ProjectOwner`.`username`, `ProjectOwner`.`show_name`, `QuoteType`.`name` FROM `demoe3_getezquotes`.`project_quotes` AS `Quote` LEFT JOIN `demoe3_getezquotes`.`projects` AS `Project` ON (`Quote`.`project_id` = `Project`.`id`) LEFT JOIN `demoe3_getezquotes`.`users` AS `ProjectOwner` ON (`Quote`.`user_id` = `ProjectOwner`.`id`) LEFT JOIN `demoe3_getezquotes`.`quote_types` AS `QuoteType` ON (`Quote`.`quote_type` = `QuoteType`.`id`) WHERE ((`Quote`.`psps_id` = 16) AND (`quote_status` = 1)) ORDER BY `Quote`.`award_date` DESC LIMIT 30 | 0 | 0 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`project_quotes` AS `Quote` LEFT JOIN `demoe3_getezquotes`.`projects` AS `Project` ON (`Quote`.`project_id` = `Project`.`id`) LEFT JOIN `demoe3_getezquotes`.`users` AS `ServiceProvider` ON (`Quote`.`psps_id` = `ServiceProvider`.`id`) LEFT JOIN `demoe3_getezquotes`.`users` AS `ProjectOwner` ON (`Quote`.`user_id` = `ProjectOwner`.`id`) LEFT JOIN `demoe3_getezquotes`.`quote_types` AS `QuoteType` ON (`Quote`.`quote_type` = `QuoteType`.`id`) WHERE ((`Quote`.`psps_id` = 16) AND (`quote_status` = 1)) | 1 | 1 | 0 | |
SELECT `PhotosDeal`.`id`, `PhotosDeal`.`offer_id`, `PhotosDeal`.`user_id`, `PhotosDeal`.`category_id`, `PhotosDeal`.`country_id`, `PhotosDeal`.`slug`, `PhotosDeal`.`photo_original_name`, `PhotosDeal`.`photo_name`, `PhotosDeal`.`is_deal`, `PhotosDeal`.`is_offer`, `PhotosDeal`.`is_photo`, `PhotosDeal`.`allow_for_proposed_offer`, `PhotosDeal`.`proposed_offer_rating`, `PhotosDeal`.`regular_price`, `PhotosDeal`.`member_price`, `PhotosDeal`.`local_currency_code`, `PhotosDeal`.`saving_percent`, `PhotosDeal`.`expiry_date`, `PhotosDeal`.`offer_details`, `PhotosDeal`.`offer_text`, `PhotosDeal`.`offer_price`, `PhotosDeal`.`exclusion_offer`, `PhotosDeal`.`key_features`, `PhotosDeal`.`maximum_deals_offered`, `PhotosDeal`.`maximum_offers`, `PhotosDeal`.`total_sold`, `PhotosDeal`.`client_requirements`, `PhotosDeal`.`add_property_stamp`, `PhotosDeal`.`view_count`, `PhotosDeal`.`deal_status`, `PhotosDeal`.`offer_status`, `PhotosDeal`.`is_deleted`, `PhotosDeal`.`created`, `PhotosDeal`.`modified`, (SELECT AVG(`user_deals`.`deal_overall_rating`) FROM user_deals WHERE deal_overall_rating != '' AND `user_deals`.`is_active` = 1 AND `user_deals`.`is_approved` = 1 AND psps_photos_deal_id = `PhotosDeal`.`id` ) AS `PhotosDeal__deal_rating`, (SELECT count(`user_deals`.`id`) FROM user_deals WHERE accepted = 1 AND psps_photos_deal_id = `PhotosDeal`.`id`) AS `PhotosDeal__deal_accepted_count`, (SELECT ROUND(AVG(`user_reviews`.`overall_rating`)) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND service_provider_id = `PhotosDeal`.`user_id` AND review_for = 'service_provider') AS `PhotosDeal__psps_reviews`, (SELECT count(`user_reviews`.`id`) FROM user_reviews WHERE status = 1 AND is_deleted =0 AND is_active = 1 AND service_provider_id = `PhotosDeal`.`user_id` AND `user_reviews`.`parent_id`=0 AND review_for = 'service_provider') AS `PhotosDeal__psps_nu_of_reviews`, (SELECT `countries`.`name` from countries where `User`.`country_id` = `countries`.`id`) AS `PhotosDeal__country_name`, (SELECT `cities`.`name` from cities where `User`.`city_id` = `cities`.`id`) AS `PhotosDeal__city_name`, (SELECT COUNT(id) from user_deals where psps_photos_deal_id = `PhotosDeal`.`id`) AS `PhotosDeal__user_deal_count`, `User`.`id`, `User`.`first_name`, `User`.`last_name`, `User`.`email`, `User`.`username`, `User`.`user_type`, `User`.`business_name`, `User`.`profile_image`, `Category`.`name`, `Category`.`id` FROM `demoe3_getezquotes`.`psps_photos_deals` AS `PhotosDeal` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`PhotosDeal`.`user_id` = `User`.`id`) LEFT JOIN `demoe3_getezquotes`.`categories` AS `Category` ON (`PhotosDeal`.`category_id` = `Category`.`id`) WHERE `PhotosDeal`.`deal_status` = 'accepted' AND `PhotosDeal`.`is_deleted` = 0 AND `PhotosDeal`.`is_deal` = 1 AND `PhotosDeal`.`user_id` = 16 AND `PhotosDeal`.`expiry_date` >= 1734929999 LIMIT 30 | 0 | 0 | 1 | maybe slow |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`psps_photos_deals` AS `PhotosDeal` WHERE `PhotosDeal`.`deal_status` = 'accepted' AND `PhotosDeal`.`is_deleted` = 0 AND `PhotosDeal`.`is_deal` = 1 AND `PhotosDeal`.`user_id` = 16 AND `PhotosDeal`.`expiry_date` >= 1734929999 | 1 | 1 | 0 | |
SELECT `PhotosDeal`.`id`, `PhotosDeal`.`offer_id`, `PhotosDeal`.`user_id`, `PhotosDeal`.`category_id`, `PhotosDeal`.`country_id`, `PhotosDeal`.`slug`, `PhotosDeal`.`photo_original_name`, `PhotosDeal`.`photo_name`, `PhotosDeal`.`is_deal`, `PhotosDeal`.`is_offer`, `PhotosDeal`.`is_photo`, `PhotosDeal`.`allow_for_proposed_offer`, `PhotosDeal`.`proposed_offer_rating`, `PhotosDeal`.`regular_price`, `PhotosDeal`.`member_price`, `PhotosDeal`.`local_currency_code`, `PhotosDeal`.`saving_percent`, `PhotosDeal`.`expiry_date`, `PhotosDeal`.`offer_details`, `PhotosDeal`.`offer_text`, `PhotosDeal`.`offer_price`, `PhotosDeal`.`exclusion_offer`, `PhotosDeal`.`key_features`, `PhotosDeal`.`maximum_deals_offered`, `PhotosDeal`.`maximum_offers`, `PhotosDeal`.`total_sold`, `PhotosDeal`.`client_requirements`, `PhotosDeal`.`add_property_stamp`, `PhotosDeal`.`view_count`, `PhotosDeal`.`deal_status`, `PhotosDeal`.`offer_status`, `PhotosDeal`.`is_deleted`, `PhotosDeal`.`created`, `PhotosDeal`.`modified`, (SELECT count(`user_purchased_offers`.`id`) FROM user_purchased_offers WHERE `user_purchased_offers`.`payment_status` = 'completed' AND `user_purchased_offers`.`psps_photos_deal_id` = `PhotosDeal`.`id`) AS `PhotosDeal__offer_purchased_count`, (SELECT `countries`.`name` from countries where `User`.`country_id` = `countries`.`id`) AS `PhotosDeal__country_name`, (SELECT `cities`.`name` from cities where `User`.`city_id` = `cities`.`id`) AS `PhotosDeal__city_name`, (SELECT ROUND(AVG(`psps_offer_ratings`.`rating`),1) FROM psps_offer_ratings WHERE `psps_offer_ratings`.`is_approved` = 1 AND `psps_offer_ratings`.`is_deleted` =0 AND `psps_offer_ratings`.`is_active` = 1 AND `psps_offer_ratings`.`psps_photo_deal_id` = `PhotosDeal`.`id` AND review_for = 'purchased_offer') AS `PhotosDeal__offer_rating`, `User`.`id`, `User`.`first_name`, `User`.`last_name`, `User`.`email`, `User`.`username`, `User`.`user_type`, `User`.`business_name`, `User`.`profile_image`, `Category`.`name`, `Category`.`id` FROM `demoe3_getezquotes`.`psps_photos_deals` AS `PhotosDeal` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`PhotosDeal`.`user_id` = `User`.`id`) LEFT JOIN `demoe3_getezquotes`.`categories` AS `Category` ON (`PhotosDeal`.`category_id` = `Category`.`id`) WHERE `PhotosDeal`.`offer_status` = 'accepted' AND `PhotosDeal`.`is_deleted` = 0 AND `PhotosDeal`.`is_offer` = 1 AND `PhotosDeal`.`user_id` = 16 AND `PhotosDeal`.`expiry_date` >= 1734929999 LIMIT 30 | 0 | 0 | 1 | maybe slow |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`psps_photos_deals` AS `PhotosDeal` WHERE `PhotosDeal`.`offer_status` = 'accepted' AND `PhotosDeal`.`is_deleted` = 0 AND `PhotosDeal`.`is_offer` = 1 AND `PhotosDeal`.`user_id` = 16 AND `PhotosDeal`.`expiry_date` >= 1734929999 | 1 | 1 | 0 | |
SELECT `UserRecommendation`.`id`, `UserRecommendation`.`user_id`, `UserRecommendation`.`service_provider_id`, `UserRecommendation`.`recommandation_reason`, `UserRecommendation`.`recommandation_category`, `UserRecommendation`.`recommandation_comment`, `UserRecommendation`.`status`, `UserRecommendation`.`is_approved`, `UserRecommendation`.`is_verified`, `UserRecommendation`.`verification_date`, `UserRecommendation`.`created`, `UserRecommendation`.`modified`, `User`.`id`, `User`.`session_id`, `User`.`facebook_id`, `User`.`google_id`, `User`.`twitter_id`, `User`.`auth_type`, `User`.`first_name`, `User`.`last_name`, `User`.`email`, `User`.`username`, `User`.`show_name`, `User`.`password`, `User`.`contact_number`, `User`.`address`, `User`.`country_id`, `User`.`state_id`, `User`.`city_id`, `User`.`activation_key`, `User`.`email_token`, `User`.`email_token_exp`, `User`.`user_type`, `User`.`user_group_id`, `User`.`status`, `User`.`encrypted_user_key`, `User`.`business_name`, `User`.`business_description`, `User`.`website`, `User`.`logo`, `User`.`profile_image`, `User`.`background_profile_image`, `User`.`receive_deal_notification`, `User`.`allow_psps_contact_regarding_financing`, `User`.`deal_services`, `User`.`service_area`, `User`.`trade`, `User`.`license`, `User`.`expiration`, `User`.`business_since`, `User`.`helpful_information`, `User`.`emergency_service_charges`, `User`.`service_provider_type_id`, `User`.`have_worker_compensation_insurance`, `User`.`worker_compensation_insurance_expiry`, `User`.`have_public_liability_insurance`, `User`.`public_liability_insurance_expiry`, `User`.`is_blocked`, `User`.`is_deleted`, `User`.`user_ip`, `User`.`profile_completed`, `User`.`is_apporoved`, `User`.`is_notify_me`, `User`.`is_show_contact_info`, `User`.`is_featured`, `User`.`is_psps`, `User`.`is_first`, `User`.`is_unethical`, `User`.`psps_rating`, `User`.`average_response_time`, `User`.`last_login`, `User`.`account_disable_email`, `User`.`is_online`, `User`.`created`, `User`.`modified`, `ServiceProvider`.`first_name`, `ServiceProvider`.`last_name`, `ServiceProvider`.`username`, `ServiceProvider`.`business_name`, `Category`.`name` FROM `demoe3_getezquotes`.`user_recommendations` AS `UserRecommendation` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`UserRecommendation`.`user_id` = `User`.`id`) LEFT JOIN `demoe3_getezquotes`.`users` AS `ServiceProvider` ON (`UserRecommendation`.`service_provider_id` = `ServiceProvider`.`id`) LEFT JOIN `demoe3_getezquotes`.`categories` AS `Category` ON (`UserRecommendation`.`recommandation_category` = `Category`.`id`) WHERE `UserRecommendation`.`service_provider_id` = 16 AND `UserRecommendation`.`is_approved` = 1 AND `UserRecommendation`.`status` = 1 ORDER BY `UserRecommendation`.`created` DESC | 0 | 0 | 1 | maybe slow |
SELECT `UserEmergencyServiceRating`.`id`, `UserEmergencyServiceRating`.`user_id`, `UserEmergencyServiceRating`.`service_provider_id`, `UserEmergencyServiceRating`.`user_emergency_service_provider_id`, `UserEmergencyServiceRating`.`service_quality`, `UserEmergencyServiceRating`.`currency`, `UserEmergencyServiceRating`.`service_category`, `UserEmergencyServiceRating`.`comments`, `UserEmergencyServiceRating`.`cost`, `UserEmergencyServiceRating`.`service_date`, `UserEmergencyServiceRating`.`reason`, `UserEmergencyServiceRating`.`status`, `UserEmergencyServiceRating`.`is_approved`, `UserEmergencyServiceRating`.`is_verified`, `UserEmergencyServiceRating`.`verification_date`, `UserEmergencyServiceRating`.`created`, `UserEmergencyServiceRating`.`modified`, `User`.`first_name`, `User`.`last_name`, `User`.`profile_image`, `User`.`username`, `User`.`user_type`, `ServiceProvider`.`first_name`, `ServiceProvider`.`last_name` FROM `demoe3_getezquotes`.`user_emergency_service_ratings` AS `UserEmergencyServiceRating` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`UserEmergencyServiceRating`.`user_id` = `User`.`id`) LEFT JOIN `demoe3_getezquotes`.`users` AS `ServiceProvider` ON (`UserEmergencyServiceRating`.`service_provider_id` = `ServiceProvider`.`id`) WHERE `UserEmergencyServiceRating`.`service_provider_id` = 16 AND `UserEmergencyServiceRating`.`is_approved` = 1 AND `UserEmergencyServiceRating`.`status` = 1 ORDER BY `UserEmergencyServiceRating`.`created` DESC | 0 | 0 | 12 | maybe slow |
SELECT `City`.`id`, `City`.`name` FROM `demoe3_getezquotes`.`cities` AS `City` WHERE `City`.`id` IN (595, 596, 597, 598, 602, 603, 604, 605, 606, 607, 608, 609) | 12 | 12 | 0 | |
SELECT `Country`.`id`, `Country`.`slug`, `Country`.`name`, `Country`.`country_code`, `Country`.`is_default`, `Country`.`country_flag` FROM `demoe3_getezquotes`.`countries` AS `Country` WHERE `Country`.`show_in_menu` = 1 AND `Country`.`status` = 1 ORDER BY `country_order` ASC, `name` ASC | 3 | 3 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`users` AS `User` WHERE `user_type` = 'service-provider' AND ((`is_blocked` = 0) AND (`is_deleted` = 0) AND (`is_apporoved` = 1) AND (`status` = 1) AND (`activation_key` = '')) | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`users` AS `User` WHERE `user_type` = 'user' | 1 | 1 | 0 | |
SELECT COUNT(*) AS `count` FROM `demoe3_getezquotes`.`projects` AS `Projects` LEFT JOIN `demoe3_getezquotes`.`users` AS `User` ON (`Projects`.`user_id` = `User`.`id`) WHERE `Projects`.`status` = 1 AND `Projects`.`is_admin_approved` = 1 AND `Projects`.`is_posted` = 1 AND `Projects`.`is_deleted` = 0 AND `User`.`is_deleted` = 0 AND `User`.`is_blocked` = 0 | 1 | 1 | 0 | |