MySQL Haversine function benchmark tests for Kae
| index.php | ||
| readme.md | ||
| setup.sql | ||
MySQL Haversine Benchmark
-
Run setup
mysql your-database-name < setup.sqlThis will (re)create:
- Two tables
floatsandpoints. - Three procedures
generate_coords,float_coords_within_radius,hybrid_coords_within_radius, andpoint_coords_within_radius. - Two functions
haversineandhaversine_alt.
And then will generate and insert 1,000,000 random coordinates into
floatsandpoints. - Two tables
-
Navigate to
index.phpin your browser and login.