512 B
512 B
MySQL Haversine Benchmark
-
Run setup
mysql your-database-name < setup.sql
This will (re)create:
- Two tables
floats
andpoints
. - Three procedures
generate_coords
,float_coords_within_radius
,hybrid_coords_within_radius
, andpoint_coords_within_radius
. - Two functions
haversine
andhaversine_alt
.
And then will generate and insert 1,000,000 random coordinates into
floats
andpoints
. - Two tables
-
Navigate to
index.php
in your browser and login.