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
9054
March 11, 2009 01:35PM
3317
March 11, 2009 07:36PM
3401
March 13, 2009 08:12AM
3084
March 13, 2009 07:53PM
3343
March 18, 2009 09:27AM
5224
March 18, 2009 09:02PM
3481
April 04, 2009 07:03AM
3448
April 04, 2009 12:51PM
2961
April 06, 2009 09:59AM
Re: GEO Search with large table is very slow
2817
April 06, 2009 07:38PM
3072
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.