Query Tuning Example for Postgresql using prime numbers.