I have a large spatial dataset (150 milion) with points over time for 10 different years. I’d like to get objects between, for example, 15 january and 15 june for each year in a simple and efficient query.
Is there any day-month datetime format in postgresql? Any ideas?
Thank you!
2
Answers
A simple way would be:
That can make use of an index:
An alternative
and a corresponding index