Re: GEO Search with large table is very slow
Posted by:
Rick James
Date: April 06, 2009 07:38PM
Two more tricks for timing queries, thereby deducing performance...
1. You are using PHP? Use microtime(TRUE) around queries. Run each query at least twice, timing each one. The second one will be fully cached.
2. Do
SHOW STATUS LIKE 'Handler_%';
before and after running a query. Diff the columns; this will give you some cryptic clues of how much work it had to do.
Each of these is pretty good at comparing one SELECT / INDEX combo to another combo.
You aren't run it with a clear cache, but small times/diffs probably mean that there will be few or no disk hits in a real environment.
Subject
Views
Written By
Posted
9119
March 11, 2009 01:35PM
3334
March 11, 2009 07:36PM
3425
March 13, 2009 08:12AM
3102
March 13, 2009 07:53PM
3365
March 18, 2009 09:27AM
5270
March 18, 2009 09:02PM
3506
April 04, 2009 07:03AM
3486
April 04, 2009 12:51PM
2980
April 06, 2009 09:59AM
Re: GEO Search with large table is very slow
2835
April 06, 2009 07:38PM
3093
March 15, 2009 07:41PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.