There exists an extension to PostgreSQL, which lets you use hypothetical indexes. What are there? That's simple – these are indexes that don't really exist. So what good are they? Let's see. First, I will need some test data. That will be relatively simple: $ CREATE TABLE test_data ( id serial PRIMARY KEY, some_timestamp timestamptz, […]
↧