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
8965
March 11, 2009 01:35PM
3278
March 11, 2009 07:36PM
3366
March 13, 2009 08:12AM
3056
March 13, 2009 07:53PM
3310
March 18, 2009 09:27AM
5130
March 18, 2009 09:02PM
3448
April 04, 2009 07:03AM
3406
April 04, 2009 12:51PM
2927
April 06, 2009 09:59AM
Re: GEO Search with large table is very slow
2789
April 06, 2009 07:38PM
3038
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.