I have a dataset of ~5M records that I want to be able to filter and display dynamically on a map in a web application. Based on When to use GiST and when to use SP-GiST index? I have used a few different spatial indices to test performance and it seems like SP-GiST represents the fastest performance from practical tests.
However, based on the way the data is being queried (by MVT extent), it seems like indexing the data on that scheme would produce much faster performance. Is there a way to (relatively) easily implement this, and test this hypothesis?