Community Software SupportBeta 5Join | Login | Help| Search| Terms
TagsBy AuthorBy BudgetHot Jobz
Optimize select statement
Job Offer Details
Posted by:
tango3d
Software:
dolphin
Tags:
search
Who can bid:
More then 2
Budget:
Open budget
Bid count:
0
Average bid:
0
Created:
July 02, 2008 at 03:37
Bidding ends:
August 01, 2008 at 03:37
Job Description
Dolphin 6.0005

database query error when searching more than 10 miles from zip code

error:

Mysql error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay Found error in file /home/dolphinsite/public_html/search_result.php at line 535

I have spoken to my hosting company and here is the response:

I would check your select statement to see if you can optimize it so I doesn't load so much data. We cannot change the size of MAX_JOIN_SIZE to a higher number. It will allow for queries that will make the whole server run slow. So optimization is the only route.

max_join size is set to 100,000,000

SQL big_selects is set to OFF in the server variables
Job Clarification

No Clarifications So Far
Bids
Expert
Comment
Bid
Timeframe
Time of bid
Contribute
Support Expertzzz.com and use a range of Contributor Benefits.
Hosting
We recommend Hostforweb as a very reliable hosting provider for community websites.
Site-wide ad for $10/day. Order Now. 10 Spots Max, Random Positioning.
Home  Downloadz  Forumz  Expertz  Join   Login   Contact Us

Copyright 2008 Expertzzz.com. All rights reserved.
PET:0.215091943741