Are there any major benefits to using point and not real data type

From: romeo407 <hernandez40724(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Are there any major benefits to using point and not real data type
Date: 2015-10-19 18:33:29
Message-ID: 1445279609353-5870626.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am using postgres 9.4 and am new to this but I have 2 columns right now
latitudes & longitudes. I have them saved as a real column so they take up 4
bits each 8 altogether. I see that point is used for latitudes and
longitudes but it is a whopping 16 bits are there any benefits (Performance)
of using point over real datatype for coordinates? I plan on using indexes
on the column and do receive a lot of inserts .

--
View this message in context: http://postgresql.nabble.com/Are-there-any-major-benefits-to-using-point-and-not-real-data-type-tp5870626.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Been 2015-10-19 18:36:08 interperting type oid in C code
Previous Message Josip Rodin 2015-10-19 18:25:20 Re: ERROR: tablespace "archive2" is not empty