Understanding And Benchmarking Cpu And Gpu-Based Spatial Databases